Fixed Prod

This commit is contained in:
MangoPig 2025-12-09 19:14:10 +00:00
parent 4bb4b0ca3a
commit 951a614919
2 changed files with 10 additions and 1 deletions

View File

@ -40,4 +40,4 @@ COPY serve.json ./dist
# Expose the port you want for production (e.g., 3000 or 80) # Expose the port you want for production (e.g., 3000 or 80)
EXPOSE 3000 EXPOSE 3000
CMD ["serve", "dist", "-l", "3000", "--single", "--config", "serve.json"] CMD ["serve", "dist", "-l", "3000", "--config", "serve.json"]

View File

@ -18,6 +18,15 @@
} }
] ]
}, },
{
"source": "**/*.@(html|json)",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
}
]
},
{ {
"source": "**", "source": "**",
"headers": [ "headers": [