Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add --reverse-proxy #16

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Feat: add --reverse-proxy #16

merged 1 commit into from
Jan 28, 2025

Conversation

JedBeom
Copy link
Contributor

@JedBeom JedBeom commented Jan 27, 2025

  • Install reqwest for http client
  • Add --reverse-proxy arg
  • This commit is based on axum example

Test Plan

  • Start expo dev server
cd frontend
pnpm expo start
  • Run Rune server with --reverse-proxy
cargo run -- --reverse-proxy

Stack created with Sapling. Best reviewed with ReviewStack.

Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@JedBeom JedBeom force-pushed the pr16 branch 2 times, most recently from c7ae500 to eea52e9 Compare January 28, 2025 03:29
@JedBeom JedBeom mentioned this pull request Jan 28, 2025
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
- Install reqwest for http client
- Add `--reverse-proxy` arg
- This commit is based on [axum example](https://github.com/tokio-rs/axum/tree/main/examples/reqwest-response)

## Test Plan

- Start expo dev server

```
cd frontend
pnpm expo start
```

- Run Rune server with `--reverse-proxy`

```
cargo run -- --reverse-proxy
```

- Visit http://127.0.0.1:8080 and see the RNW page
@JedBeom JedBeom merged commit 3c43e4a into main Jan 28, 2025
20 checks passed
@JedBeom JedBeom deleted the pr16 branch January 28, 2025 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants