Skip to content

Commit

Permalink
adapt config and export prerender true in order to work when building
Browse files Browse the repository at this point in the history
  • Loading branch information
trueberryless committed Jan 8, 2025
1 parent 5373b8c commit da8f1fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ export default defineConfig({
adapter: node({
mode: "standalone",
}),
output: "server",
});
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import pluginConfig from 'virtual:starlight-plugin-show-latest-version-config';
import type { Props } from '../props';
import VersionBadge from '../components/VersionBadge.astro';
export const prerender = true;
const { siteTitle, siteTitleHref } = Astro.props;
---

Expand Down

0 comments on commit da8f1fb

Please sign in to comment.