10 lines
242 B
JavaScript
10 lines
242 B
JavaScript
import express from 'express';
|
|
import { handler as ssrHandler } from './dist/server/entry.mjs';
|
|
|
|
const app = express();
|
|
app.use(express.static('dist/client/'))
|
|
app.use(ssrHandler);
|
|
|
|
app.listen(80);
|
|
|
|
console.log("Server listening on port 80"); |