Update server port in Vite config and Dockerfile from 5287 to 5237 for consistency
This commit is contained in:
@ -25,6 +25,6 @@ RUN chown -R node:node /app
|
|||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
EXPOSE 5287
|
EXPOSE 5237
|
||||||
|
|
||||||
CMD ["node", "index.js"]
|
CMD ["node", "index.js"]
|
@ -12,7 +12,7 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
"/socket.io": {
|
"/socket.io": {
|
||||||
target: "http://localhost:5287",
|
target: "http://localhost:5237",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user