Toggle navigation
Toggle navigation
This project
Loading...
Sign in
201side
/
floater
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
robin*
2020-12-10 11:14:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b858c1115c235eeb95d03ba1524c78d97046cbd8
b858c111
1 parent
a407aebc
임시 public 주석처리
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main.js
src/main.js
View file @
b858c11
...
...
@@ -26,11 +26,11 @@ fs.readdirSync(path.resolve(__dirname, 'routes')).forEach((name) => {
require
(
path
.
resolve
(
__dirname
,
'routes'
,
name
));
});
app
.
use
(
express
.
static
(
path
.
resolve
(
__dirname
,
'public'
)));
let
server
=
http
.
createServer
(
app
);
socket
.
init
(
http
);
//app.use(express.static(path.resolve(__dirname, 'public')));
server
.
listen
(
3429
,
()
=>
{
console
.
log
(
'Listening on port 3429'
);
});
...
...
Please
register
or
login
to post a comment