mirror of
https://github.com/trufflesecurity/xsshunter
synced 2024-11-10 06:44:13 +00:00
local env
This commit is contained in:
parent
10415d91f3
commit
12a54b764e
2 changed files with 3 additions and 3 deletions
2
api.js
2
api.js
|
@ -35,7 +35,7 @@ var sessions_settings_object = {
|
|||
activeDuration: 1000 * 60 * 5, // Extend for five minutes if actively used
|
||||
cookie: {
|
||||
httpOnly: true,
|
||||
secureProxy: true
|
||||
secureProxy: process.env.NODE_ENV == 'production'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ services:
|
|||
# the IP of the server running this service.
|
||||
# SSL will automatically be set up and
|
||||
# renewed with LetsEncrypt.
|
||||
- HOSTNAME=your.host.name
|
||||
- HOSTNAME=localhost
|
||||
# THis hostname is where your JS is served out of
|
||||
- XSS_HOSTNAME=your.xss.domain
|
||||
# [REQUIRED] Email for SSL
|
||||
|
@ -47,7 +47,7 @@ services:
|
|||
- DATABASE_USER=xsshunterexpress
|
||||
- DATABASE_PASSWORD=xsshunterexpress
|
||||
- DATABASE_HOST=postgresdb
|
||||
- NODE_ENV=production
|
||||
- NODE_ENV=development
|
||||
- USE_CLOUD_STORAGE=true
|
||||
- BUCKET_NAME=YourBucket
|
||||
ports:
|
||||
|
|
Loading…
Reference in a new issue