forked from engineering/Staff-Dashboard
11 lines
287 B
JavaScript
11 lines
287 B
JavaScript
const express = require('express');
|
|
const app = express();
|
|
const port = 6574;
|
|
|
|
// Serve static files from your directory
|
|
app.use(express.static('/home/harry/Documents/staff-dash'));
|
|
|
|
app.listen(port, () => {
|
|
console.log(`Server running at http://staff.libraryofcode.org:${port}`);
|
|
});
|