File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717destroy :
1818 docker-compose down
1919
20+ deps :
21+ npm install
22+
2023test :
2124 npm test
2225
Original file line number Diff line number Diff line change 44 "repository" : " https://github.com/codebrewery/web-node_webhook.git" ,
55 "keywords" : [
66 " node" ,
7+ " socketio" ,
8+ " express" ,
79 " heroku"
810 ],
911 "image" : " heroku/nodejs"
Original file line number Diff line number Diff line change 11'use strict' ;
22
33const config = {
4- app : process . env . APP || 'default' ,
5- token : process . env . APP_TOKEN || 'default-token' ,
4+ // Change this value to identical for both the server and client
5+ token : process . env . APP_TOKEN || 'CHANGE-ME' ,
6+
7+ // Client
8+ app : process . env . APP || 'default' , // Change this to the id of your app, which will show in logs
9+ serverURL : process . env . SERVER_URL || 'http://127.0.0.1:8080' ,
10+
11+ // Server
612 secret : process . env . SECRET || 'QA1KPVPanMvtgf0otsie4pRqS1M_wffvqUd1g' ,
7- secretExpiry : process . env . SECRET_EXPIRY || 60 ,
8- port : process . env . PORT || '8080' ,
9- socketPort : process . env . SOCKET_PORT || '443' ,
10- serverURL : process . env . SERVER_URL || 'http://127.0.0.1:8080'
13+ secretExpiry : process . env . SECRET_EXPIRY || 60 , // Seconds
14+ port : process . env . PORT || '8080'
1115} ;
1216
1317module . exports = {
You can’t perform that action at this time.
0 commit comments