mirror of
https://github.com/withfig/autocomplete.git
synced 2026-10-14 23:49:30 +02:00
13 lines
228 B
JavaScript
13 lines
228 B
JavaScript
import express from "express";
|
|
import cors from "cors";
|
|
|
|
const app = express();
|
|
|
|
app.use(cors());
|
|
|
|
app.use(express.static("build"));
|
|
|
|
app.listen(3000, () => {
|
|
console.log(`Example app listening at http://localhost:3000`);
|
|
});
|