Update server port in Vite config and Dockerfile from 5287 to 5237 for consistency

This commit is contained in:
2025-04-24 20:42:49 +02:00
parent f9d63c6c49
commit 1a7d7f4df3
2 changed files with 2 additions and 2 deletions

View File

@ -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"]

View File

@ -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,
}, },