mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
Allows defining custom reverse proxy routes via an `extra-proxies.js` file at the project root. The Gateway loads these configurations on startup. Additionally, the Nginx gateway manager no longer applies default prefix-stripping rewrites. Explicit `pathRewrite` rules are now required if prefix stripping is needed for any proxied service, including those defined externally.
8 lines
193 B
JavaScript
8 lines
193 B
JavaScript
export default {
|
|
"/spectrum/*": {
|
|
target: process.env.SPECTRUM_API ?? "https://live.ragestudio.net",
|
|
pathRewrite: { "^/spectrum/(.*)": "/$1", "^/spectrum": "/" },
|
|
websocket: true,
|
|
},
|
|
}
|