aboutsummaryrefslogtreecommitdiff
path: root/server.mjs
blob: 5dd98511d21bea61b1ef434506d4969f482b1b91 (plain)
1
2
3
4
5
6
7
8
9
10
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(3000);

console.log('Server started');