main
copilot/add-i18n-support-for-english
dependabot/npm_and_yarn/astro-5.16.4
dependabot/npm_and_yarn/katex-0.16.27
dependabot/npm_and_yarn/prettier-3.7.4
dependabot/npm_and_yarn/tailwindcss-4.1.16
dependabot/npm_and_yarn/tailwindcss/vite-4.1.16
dependabot/npm_and_yarn/typescript-eslint-8.46.2
dependabot/npm_and_yarn/typescript-eslint/parser-8.46.2
development
main
| 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) |