fix(#1914): Resolve redirectURL considering base path

This commit is contained in:
Sidharth Vinod
2026-03-30 21:24:33 +05:30
parent c675dc02e9
commit c799dff042
7 changed files with 21 additions and 1 deletions
+4
View File
@@ -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'