Browse Source

Serve static resources

master
nemanjan00 1 year ago
parent
commit
e502b1c3c7
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/index.js

+ 1
- 0
src/index.js View File

@@ -4,6 +4,7 @@ const app = express();

app.set("PORT", process.env.PORT || 3000);

app.use(express.static("static"));

app.listen(3000, () => {
console.log('Example app listening on port 3000!');

Loading…
Cancel
Save