api: Refactor so all endpoints are CORS-aware.

This commit is contained in:
2019-09-25 08:15:08 -05:00
parent cf60793395
commit 5c81d756df
4 changed files with 119 additions and 104 deletions

View File

@@ -3,5 +3,6 @@
"dbConnString":"host=localhost port=5500 dbname=personal_measure user=postgres password=password",
"debug":true,
"port":8081,
"pwdCost":11
"pwdCost":11,
"knownOrigins": [ "https://curl.localhost" ]
}