fix env
This commit is contained in:
parent
2ca63f06b4
commit
bffd8c971f
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -1,6 +1,6 @@
|
||||||
import express from "express";
|
import express from "express";
|
||||||
const app = express()
|
const app = express()
|
||||||
const port = process.env.port || 3000;
|
const port = process.env.PORT|| 3000;
|
||||||
|
|
||||||
app.use('/static', express.static('./static'),)
|
app.use('/static', express.static('./static'),)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue