mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 15:13:24 +02:00
quick fixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Build and Push Backend Docker Image
|
||||
name: Build and Push MetadataRelay Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Ruff
|
||||
name: Ruff Metadata Relay
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import { PUBLIC_BASE_PATH } from '$env/dynamic/public';
|
||||
import { base } from '$app/paths';
|
||||
import { browser } from '$app/environment';
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
|
||||
if (browser) goto(PUBLIC_BASE_PATH + '/dashboard');
|
||||
else throw redirect(307, PUBLIC_BASE_PATH + '/login');
|
||||
if (browser) goto(base + '/dashboard');
|
||||
else throw redirect(307, base + '/login');
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
Reference in New Issue
Block a user