13 lines
285 B
JavaScript
13 lines
285 B
JavaScript
const express = require("express");
|
|
const compression = require("compression");
|
|
|
|
const app = express();
|
|
app.use(compression());
|
|
|
|
app.use(express.static("build"));
|
|
|
|
app.listen(9000, () => {
|
|
console.log("Server is running on port 9000");
|
|
console.log("http://localhost:9000");
|
|
})
|