mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 00:43:04 +00:00
pwa adjustments
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
</abbr>
|
||||
{/if}
|
||||
<a
|
||||
href="/device-manager"
|
||||
href="/device-manager/"
|
||||
title="Device Manager"
|
||||
class="icon connect"
|
||||
class:error={$serialPort === undefined}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export const prerender = true
|
||||
|
||||
export const trailingSlash = "never"
|
||||
export const trailingSlash = "always"
|
||||
|
||||
@@ -2,5 +2,5 @@ import {redirect} from "@sveltejs/kit"
|
||||
|
||||
/** @type {import("./$types").PageLoad} */
|
||||
export function load() {
|
||||
throw redirect(302, "/config")
|
||||
throw redirect(302, "/config/")
|
||||
}
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
import {page} from "$app/stores"
|
||||
|
||||
const paths = [
|
||||
{href: "/config/chords", title: "Chords", icon: "piano"},
|
||||
{href: "/config/layout", title: "Layout", icon: "keyboard"},
|
||||
{href: "/config/settings", title: "Settings", icon: "settings"},
|
||||
{href: "/config/chords/", title: "Chords", icon: "piano"},
|
||||
{href: "/config/layout/", title: "Layout", icon: "keyboard"},
|
||||
{href: "/config/settings/", title: "Settings", icon: "settings"},
|
||||
]
|
||||
</script>
|
||||
|
||||
|
||||
@@ -2,5 +2,5 @@ import {redirect} from "@sveltejs/kit"
|
||||
|
||||
/** @type {import("./$types").PageLoad} */
|
||||
export function load() {
|
||||
throw redirect(302, "/config/chords")
|
||||
throw redirect(302, "/config/chords/")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user