File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { defineConfig } from 'vite' ;
22import react from '@vitejs/plugin-react' ;
33
4- const GOTIFY_PORT = process . env . GOTIFY_PORT ?? '80' ;
4+ const GOTIFY_SERVER_PORT = process . env . GOTIFY_SERVER_PORT ?? '80' ;
55
66export default defineConfig ( {
77 build : {
@@ -21,12 +21,12 @@ export default defineConfig({
2121 host : '0.0.0.0' ,
2222 proxy : {
2323 '^/(application|message|client|current|user|plugin|version|image)' : {
24- target : `http://localhost:${ GOTIFY_PORT } /` ,
24+ target : `http://localhost:${ GOTIFY_SERVER_PORT } /` ,
2525 changeOrigin : true ,
2626 secure : false ,
2727 } ,
2828 '/stream' : {
29- target : `ws://localhost:${ GOTIFY_PORT } /` ,
29+ target : `ws://localhost:${ GOTIFY_SERVER_PORT } /` ,
3030 ws : true ,
3131 rewriteWsOrigin : true ,
3232 } ,
You can’t perform that action at this time.
0 commit comments