forked from 0perationPrivacy/VoIP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
17 lines (16 loc) · 964 Bytes
/
Copy path.env
File metadata and controls
17 lines (16 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DB = 'mongodb://localhost:27017/'
PORT = 3000
BASE_URL = 'http://localhost/'
# COOKIE_KEY is used as JWT signing secret, JWT is then saved in client cookies as `access_token`, then sent in headers
# It is used with HS256 algo, which expects a key size of 256 Bits == 32 chars
COOKIE_KEY = 4c5h3sve45yte55rgae984hvs4780gtsRH5yrrs54r5Hr4adRSjgg66y8634
SIGNUPS = on
NODE_OPTIONS = --max_old_space_size=460
HTTPS = false
# https://github.com/0perationPrivacy/VoIP/wiki/Bonus-Steps#security-through-obscurity
# If you put a (random) directory name for APPDIRECTORY, Your application will be served only on that subdirectory.
# People will not be able to browse to your app page (by discovering your public github page and deployment link).
# Example: "voip123" -> http://localhost/voip123/
# If this is unset, the app root will redirect to /voip/ for backwards compatibility.
# If this is set, the app will be gated on the path and not redirect.
APPDIRECTORY = 'voip'