mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 08:01:35 +00:00
small nit BASE_URL
This commit is contained in:
@@ -3,7 +3,7 @@ export { base } from '$lib/base'
|
||||
import { base } from '$lib/base'
|
||||
|
||||
export function goto(path, options = {}) {
|
||||
if (base == '') {
|
||||
if (base == '/') {
|
||||
return svelteGoto(path, options)
|
||||
} else {
|
||||
const fullPath = path.startsWith(base) ? path : `${base}${path}`
|
||||
|
||||
Reference in New Issue
Block a user