Add CORS and authorized origins to server

This commit is contained in:
2023-01-04 14:42:55 +01:00
parent 57bc676ec1
commit a2a2863d62
5 changed files with 75 additions and 10 deletions

View File

@@ -1,3 +1,5 @@
ORDABOK_HOSTS=https://example.com # if empty or unset, CORS will allow all origins
# Database
POSTGRES_HOST=0.0.0.0
POSTGRES_PASSWORD=changeme