Fix CORS and make cookies live longer

This commit is contained in:
Marko Korhonen 2020-04-28 19:00:57 +03:00
parent c4821ee0d3
commit 75b3aa7249
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 3 additions and 3 deletions

View file

@ -1,9 +1,9 @@
APP_NAME=thesis
BIND=0.0.0.0
BIND=localhost
PORT=3880
DOMAIN=localhost
DATABASE_URL=mysql://diesel:fuel@localhost/thesis
JWT_SECRET=taiCoh4dEvoo0IefEvoo0IefaiNai7uv
SECRET=la4kuuPhSai2johyIephaa4fahm5Siey
ALLOWED_ORIGIN=localhost
ALLOWED_ORIGIN=http://localhost:3880
COOKIE_SECURE=false