fix sveltekit conf

This commit is contained in:
Ruben Fiszel
2024-07-22 22:25:53 +02:00
parent 7b1798f9ef
commit 7b296e8ce9
2 changed files with 4 additions and 5 deletions
@@ -160,22 +160,22 @@
favoriteLinks = [
...scripts.map((s) => ({
label: s.summary || s.path,
href: `${base}scripts/get/${s.hash}`,
href: `${base}/scripts/get/${s.hash}`,
kind: 'script' as 'script'
})),
...flows.map((f) => ({
label: f.summary || f.path,
href: `${base}flows/get/${f.path}`,
href: `${base}/flows/get/${f.path}`,
kind: 'flow' as 'flow'
})),
...apps.map((f) => ({
label: f.summary || f.path,
href: `${base}apps/get/${f.path}`,
href: `${base}/apps/get/${f.path}`,
kind: 'app' as 'app'
})),
...raw_apps.map((f) => ({
label: f.summary || f.path,
href: `${base}apps/get_raw/${f.version}/${f.path}`,
href: `${base}/apps/get_raw/${f.version}/${f.path}`,
kind: 'raw_app' as 'raw_app'
}))
]
-1
View File
@@ -32,7 +32,6 @@ const config = {
preview: {
port: 3000
},
base: process.env.BASE ?? '/',
plugins: [sveltekit(), circleDependency({ circleImportThrowErr: false })],
define: {
__pkg__: version