Skip to content

Commit b3264a9

Browse files
author
DC0
committed
OK
1 parent c69ff93 commit b3264a9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"use strict";
2+
{
3+
const exp = require('express');
4+
const app = exp();
5+
const port = process.env.PORT || 8080;
6+
app.use("/",exp.static("./"));
7+
const server = app.listen(port, () => `Server up at @{new Date()} on port ${port}`);
8+
}

0 commit comments

Comments
 (0)