Skip to content

Commit

Permalink
fix: github does not serve folders with underscore prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
s890081tonyhsu committed Jan 5, 2025
1 parent 6e776a9 commit 476d954
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import mdx from '@astrojs/mdx';

// https://astro.build/config
export default defineConfig({
build: {
// NOTE: github doesn't build folders with `_` prefix.
// Ref: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#configuring-jekyll-in-your-github-pages-site
assets: 'assets',
},
site: 'https://s890081tonyhsu.github.io',
integrations: [vue(), mdx()],
vite: {
Expand Down

0 comments on commit 476d954

Please sign in to comment.