small nit BASE_URL

This commit is contained in:
Ruben Fiszel
2024-07-22 19:57:20 +02:00
parent 829ee8a46a
commit d043df7674
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -1,6 +1,5 @@
import { goto as svelteGoto } from '$app/navigation'
import { base as svelteBase } from '$app/paths'
export { base } from '$lib/base'
export function goto(path, options = {}) {
if (svelteBase == '') {
@@ -1,5 +1,5 @@
<script lang="ts">
import { goto, base } from '$lib/navigation'
import { goto } from '$lib/navigation'
import { replaceState } from '$app/navigation'
import { page } from '$app/stores'
import { isCloudHosted } from '$lib/cloud'
@@ -53,6 +53,7 @@
convertFrontendToBackendSetting,
type S3ResourceSettings
} from '$lib/workspace_settings'
import { base } from '$lib/base'
type GitSyncTypeMap = {
scripts: boolean