Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-open-source
/
BaseBallSimulator
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
Ubuntu
2021-06-09 15:17:55 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a6ba58a2e512509298dba542936354f19a34a16d
a6ba58a2
1 parent
448d3528
Delete server.js (replaced to app.js)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
server.js
server.js
deleted
100644 → 0
View file @
448d352
const
express
=
require
(
'express'
);
const
app
=
express
();
app
.
listen
(
8080
,
function
(){
console
.
log
(
'listening on 8080'
);
});
app
.
get
(
'/test'
,
function
(
req
,
res
){
res
.
send
(
'test'
);
});
app
.
get
(
'/'
,
function
(
req
,
res
){
res
.
sendFile
(
__dirname
+
'/main.html'
);
res
.
sendFile
(
__dirname
+
'/main.css'
);
});
\ No newline at end of file
Please
register
or
login
to post a comment