Toggle navigation
Toggle navigation
This project
Loading...
Sign in
seungmin lee
/
OSS2020-2_Screensaver
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이민호
2020-12-09 21:03:19 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4c0be6ba5cae720fedb02619a2b0b99347615981
4c0be6ba
1 parent
cd91a0a2
run with https
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
screensaver/bin/www
screensaver/bin/www
View file @
4c0be6b
...
...
@@ -6,6 +6,7 @@
var
app
=
require
(
"../app"
);
var
debug
=
require
(
"debug"
)(
"screensaver:server"
);
var
http
=
require
(
"http"
);
const
fs
=
require
(
"fs"
);
const
path
=
require
(
"path"
);
const
HTTPS
=
require
(
"https"
);
...
...
@@ -56,7 +57,7 @@ app.set("port", port);
* Create HTTP server.
*/
var
server
=
HTTPS
.
createServer
(
app
);
var
server
=
http
.
createServer
(
app
);
/**
* Listen on provided port, on all network interfaces.
...
...
Please
register
or
login
to post a comment