Clean up tunnel infrastructure and migrate to Gitea
Some checks failed
Deploy to Production Server / Deploy to 178.63.127.19 (push) Has been cancelled
Some checks failed
Deploy to Production Server / Deploy to 178.63.127.19 (push) Has been cancelled
This commit is contained in:
@@ -12,6 +12,13 @@ export default defineConfig({
|
||||
},
|
||||
server: {
|
||||
port: 5173,
|
||||
host: true, // Listen on all addresses
|
||||
allowedHosts: [
|
||||
".trycloudflare.com", // Cloudflare Quick Tunnels
|
||||
".turbo.local", // Custom tunnel domains
|
||||
".devtunnels.ms", // VS Code Dev Tunnels
|
||||
"localhost",
|
||||
],
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://localhost:3000",
|
||||
@@ -19,8 +26,9 @@ export default defineConfig({
|
||||
// Don't rewrite - backend expects /api prefix
|
||||
},
|
||||
"/ws": {
|
||||
target: "ws://localhost:3000",
|
||||
target: "http://localhost:3000",
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user