diff options
| author | haturatu <taro@eyes4you.org> | 2025-10-13 07:01:46 +0900 |
|---|---|---|
| committer | haturatu <taro@eyes4you.org> | 2025-10-13 07:01:46 +0900 |
| commit | af646a893e3b66b2b868d2d0f4216362477a4fba (patch) | |
| tree | 4be49ae0140cb5b9849831333cbdccb0fdd279cc /run-demo.sh | |
| parent | 18991704b375db4e8d22785bb47f3e2e12cd016f (diff) | |
support: xsrf
Diffstat (limited to 'run-demo.sh')
| -rwxr-xr-x | run-demo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run-demo.sh b/run-demo.sh index c9bdc7a..48a8169 100755 --- a/run-demo.sh +++ b/run-demo.sh @@ -19,8 +19,8 @@ cat > .env << EOF LISTEN_PORT=8080 TARGET_URL=http://127.0.0.1:8081 SESSION_SECRET=$(openssl rand -base64 32) -CSRF_SECRET_KEY=$(openssl rand -base64 32) -CSRF_TRUSTED_ORIGINS=${IP_ADDRESS}:8080 +XSRF_SECRET_KEY=$(openssl rand -base64 32) +XSRF_TRUSTED_ORIGINS=${IP_ADDRESS}:8080 DATABASE_PATH=./auth.db PROTECT_API=true PROTECT_FRONTEND=true |
