summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/integrations/node/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/integrations/node/README.md b/packages/integrations/node/README.md
index 3eb8d1caf..165a0733d 100644
--- a/packages/integrations/node/README.md
+++ b/packages/integrations/node/README.md
@@ -92,7 +92,10 @@ import express from 'express';
import { handler as ssrHandler } from './dist/server/entry.mjs';
const app = express();
-app.use(express.static('dist/client/'))
+// Change this based on your astro.config.mjs, `base` option.
+// They should match. The default value is "/".
+const base = "/";
+app.use(base, express.static('dist/client/'))
app.use(ssrHandler);
app.listen(8080);