refactor: use a custom Link component to be able to use absolute URLs everywhere
...that supports any `base` property
This commit is contained in:
parent
bdf831b008
commit
ca6834d95f
21 changed files with 89 additions and 53 deletions
|
|
@ -7,7 +7,7 @@ const base = process.env.ASTRO_BASE || '';
|
|||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: process.env.ASTRO_SITE,
|
||||
site: process.env.ASTRO_SITE ?? 'http://localhost:4321',
|
||||
base: base || undefined,
|
||||
integrations: [
|
||||
starlight({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue