1 import express from 'express'
2 import { handler as ssrHandler } from './dist/server/entry.mjs'
3
4 const app = express()
5 // Change this based on your astro.config.mjs, `base` option.
6 // They should match. The default value is "/".
7 const base = '/'
8 app.use(base, express.static('dist/client/'))
9 app.use(ssrHandler)
10
11 app.listen(3021)