change base

This commit is contained in:
yehuozhili
2021-07-09 01:51:36 +08:00
parent 968a072537
commit b1133c8773

View File

@@ -2,8 +2,8 @@
* @Author: yehuozhili * @Author: yehuozhili
* @Date: 2021-06-29 11:14:15 * @Date: 2021-06-29 11:14:15
* @LastEditors: yehuozhili * @LastEditors: yehuozhili
* @LastEditTime: 2021-07-08 11:29:23 * @LastEditTime: 2021-07-09 01:50:59
* @FilePath: \my-app\svelte.config.js * @FilePath: \dooringx\packages\dooringx-doc\svelte.config.js
*/ */
import preprocess from 'svelte-preprocess'; import preprocess from 'svelte-preprocess';
import staticAdapter from '@sveltejs/adapter-static'; import staticAdapter from '@sveltejs/adapter-static';
@@ -22,7 +22,7 @@ const config = {
}), }),
paths: process.env.DEPLOY paths: process.env.DEPLOY
? { ? {
base: '/svelte-kit-markdown', base: '/dooringx',
} }
: {}, : {},
trailingSlash: 'ignore', trailingSlash: 'ignore',