-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc222b3
commit b4559a5
Showing
2 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
var config = { | ||
// Environment can be "prod" for https, or "dev" for local/http | ||
"env": "dev", | ||
"env": "prod", | ||
|
||
// Location of static root folder of the webserver | ||
// Make sure Node is allowed to write to that folder! | ||
"static_root": "", | ||
"static_root": "/var/www/ecerso.party/", | ||
|
||
// Integer to represent the WebSocket connection port number. Must be greater than 1024. | ||
"ws_port": 8080, | ||
|
||
// TLS Info - if dev (insecure) environment, keep empty | ||
"private_key_path": "", | ||
"ssl_cert_path": "", | ||
"ca_cert_path": "", | ||
"private_key_path": "./crt/ecerso.party.key", | ||
"ssl_cert_path": "./crt/ecerso.party.crt", | ||
"ca_cert_path": "./crt/sub.class1.server.ca.pem", | ||
|
||
// Link to Mongo Database: mongodb://username:password@server/db | ||
"mongodb_url": "", | ||
"mongodb_url": "mongodb://localhost/drops", | ||
|
||
// JSON Web Token Info | ||
"jwt_SECRET": "", | ||
"jwt_AUDIENCE": "", | ||
"jwt_ISSUER": "", | ||
"jwt_EXPIRY": "", | ||
"jwt_ALGORITHM": "", | ||
"jwt_SECRET": "IEEEruleseverythingaroundme", | ||
"jwt_AUDIENCE": "https://ecerso.party", | ||
"jwt_ISSUER": "https://ecerso.party", | ||
"jwt_EXPIRY": "8h", | ||
"jwt_ALGORITHM": "HS256", | ||
|
||
"youtube_key": "" | ||
"youtube_key": "AIzaSyBhZubf4N-jenWLm8aUQhkxjCc8_EMnEKA" | ||
}; | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters