aboutsummaryrefslogtreecommitdiff
path: root/server.mjs
blob: f554ee24342f4ffc801ee3c65cfd79fa1b261c0c (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(8080);

console.log('Server started');