fix(docker): fixes to allow an external url more easy
Some checks failed
Build and Push LST Docker Image / docker (push) Failing after 12s

when running in docker we might be using a different url thats not predefined in the cors so we want
to allow 1 more
This commit is contained in:
2026-04-03 10:49:57 -05:00
parent 1fadf0ad25
commit 69c5cf87fd
3 changed files with 8 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ export const allowedOrigins = [
`http://${process.env.PROD_SERVER}:3000`,
`http://${process.env.PROD_SERVER}:3100`, // temp
`http://usmcd1olp082:3000`,
`http://localhost:3600`, // internal docker
`${process.env.EXTERNAL_URL}`, // internal docker
];
export const lstCors = () => {
return cors({