fix(#1914): Resolve redirectURL considering base path
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import 'dotenv/config';
|
||||
import { sveltePreprocess } from 'svelte-preprocess';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
@@ -10,6 +11,9 @@ const config = {
|
||||
alias: {
|
||||
'$/*': './src/lib/*'
|
||||
},
|
||||
paths: {
|
||||
base: process.env.MERMAID_BASE_PATH ?? ''
|
||||
},
|
||||
adapter: adapter({
|
||||
pages: 'docs',
|
||||
fallback: '404.html'
|
||||
|
||||
Reference in New Issue
Block a user