forked from Trivernis/no-chromium
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
335 B
JavaScript
14 lines
335 B
JavaScript
1 year ago
|
import { handler } from "./handler.js";
|
||
|
import express from "express";
|
||
|
import cors from 'cors';
|
||
|
|
||
|
const app = express();
|
||
|
|
||
|
app.use("/popup/", cors());
|
||
|
|
||
|
// let SvelteKit handle everything else, including serving prerendered pages and static assets
|
||
|
app.use(handler);
|
||
|
|
||
|
app.listen(3000, () => {
|
||
|
console.log("listening on port 3000");
|
||
|
});
|