Skip to content

Bypass VPS on selected routes #782

Discussion options

You must be logged in to vote

If you use VPS with a middleware, place the VPS middleware last to bypass the catch-all routes.

See https://github.com/inlang/inlang/blob/f491813bdfea8856d261b6bcd8525506f153f68c/source-code/server/src/main.ts#L53. We have one server that deploys RPCs, APIs, reverse proxies and vite plugin ssr. Works fabulous!

Replies: 2 comments 3 replies

Comment options

brillout
Apr 13, 2023
Maintainer Author

You must be logged in to vote
1 reply
@TomLadek
Comment options

Comment options

You must be logged in to vote
2 replies
@TomLadek
Comment options

@brillout
Comment options

brillout Apr 14, 2023
Maintainer Author

Answer selected by brillout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants