Skip to content

Commit dedb0f3

Browse files
committed
Add missing base url
1 parent 576aef8 commit dedb0f3

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

astro.config.mjs

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,24 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
99

1010
// https://astro.build/config
1111
export default defineConfig({
12-
integrations: [
13-
tailwind({
14-
applyBaseStyles: false,
15-
}),
16-
react(),
17-
mdx(),
18-
],
19-
vite: {
20-
server: {
21-
watch: {
22-
usePolling: true,
23-
}
24-
},
25-
resolve: {
26-
alias: {
27-
'@': path.resolve(__dirname, './src'),
28-
},
12+
base: '/drc-static',
13+
integrations: [
14+
tailwind({
15+
applyBaseStyles: false,
16+
}),
17+
react(),
18+
mdx(),
19+
],
20+
vite: {
21+
server: {
22+
watch: {
23+
usePolling: true,
24+
}
25+
},
26+
resolve: {
27+
alias: {
28+
'@': path.resolve(__dirname, './src'),
2929
},
30+
},
3031
},
3132
});

0 commit comments

Comments
 (0)