add port option for startup
هذا الالتزام موجود في:
@@ -99,6 +99,8 @@ $ cp app/src/config.template.js app/src/config.js
|
||||
$ npm install
|
||||
# Start the server
|
||||
$ npm start
|
||||
# If you want to start the server on a different port than the default use an env var
|
||||
$ PORT=3011 npm start
|
||||
```
|
||||
|
||||
- Open https://localhost:3010 in browser
|
||||
|
||||
@@ -32,7 +32,7 @@ module.exports = {
|
||||
hostPassword: 'password',
|
||||
// app listen on
|
||||
listenIp: '0.0.0.0',
|
||||
listenPort: 3010,
|
||||
listenPort: process.env.PORT || 3010,
|
||||
// ssl/README.md
|
||||
sslCrt: '../ssl/cert.pem',
|
||||
sslKey: '../ssl/key.pem',
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم