mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-27 17:42:59 +08:00
Bind to proper port
This commit is contained in:
parent
05795692f1
commit
b4e05fcb30
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ const path = require('path');
|
|||
global.__base = path.join(__dirname, '..')
|
||||
|
||||
const server = new Hapi.Server();
|
||||
server.connection({ port: 3000 });
|
||||
server.connection({ port: process.env.PORT || 3000 });
|
||||
|
||||
const plugins = [Inert, Vision, HapiBasicAuth, {
|
||||
register: HapiSwagger,
|
||||
|
|
Loading…
Reference in a new issue