mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 00:01:55 +00:00
fix sveltekit conf
This commit is contained in:
@@ -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'
|
||||
}))
|
||||
]
|
||||
|
||||
@@ -32,7 +32,6 @@ const config = {
|
||||
preview: {
|
||||
port: 3000
|
||||
},
|
||||
base: process.env.BASE ?? '/',
|
||||
plugins: [sveltekit(), circleDependency({ circleImportThrowErr: false })],
|
||||
define: {
|
||||
__pkg__: version
|
||||
|
||||
Reference in New Issue
Block a user