Skip to content

Commit be4abe1

Browse files
committed
Proper CORS values
1 parent b97f084 commit be4abe1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ WORKDIR /app
4242

4343
# Run the web service on container startup.
4444
CMD ["panel", "serve", "panel/app.py", \
45-
"--address", "0.0.0.0", "--port", "8080", "--num-procs", "2", "--allow-websocket-origin", "*", \
45+
"--address", "0.0.0.0", "--port", "8080", \
46+
"--num-procs", "2", \
47+
"--allow-websocket-origin", "simdec.io", \
48+
"--allow-websocket-origin", "www.simdec.io", \
4649
"--cookie-secret", "panel_cookie_secret_oauth", \
4750
"--logout-template", "panel/logout.html", \
4851
"--oauth-provider", "google", \

0 commit comments

Comments
 (0)