Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jabis Sevón
/
gun-multiserver
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
99644135
authored
2020-04-29 15:37:34 +0200
by
Jabis Sevón
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
config options
1 parent
7a10d1e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server.js
server.js
View file @
9964413
...
...
@@ -20,7 +20,7 @@ config.options = {
if
(
!
process
.
env
.
hasOwnProperty
(
'SSL'
)
||
process
.
env
.
SSL
==
false
)
{
var
server
=
http
.
createServer
();
server
.
listen
(
process
.
env
.
PORT
||
3000
);
server
.
listen
(
process
.
env
.
PORT
||
8767
);
}
else
{
config
.
options
.
key
=
process
.
env
.
SSLKEY
?
fs
.
readFileSync
(
process
.
env
.
SSLKEY
)
:
fs
.
readFileSync
(
'cert/server.key'
),
config
.
options
.
cert
=
process
.
env
.
SSLCERT
?
fs
.
readFileSync
(
process
.
env
.
SSLCERT
)
:
fs
.
readFileSync
(
'cert/server.cert'
)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment