🐛 Bug fix of bugs

This commit is contained in:
LittleSheep 2024-02-19 16:25:57 +08:00
parent 8d2eae4c9e
commit 7bdafe246f
3 changed files with 5 additions and 5 deletions

View File

@ -21,8 +21,8 @@ func getOidcConfiguration(c *fiber.Ctx) error {
return c.JSON(fiber.Map{
"issuer": basepath,
"authorization_endpoint": fmt.Sprintf("%s/authMiddleware/o/connect", basepath),
"token_endpoint": fmt.Sprintf("%s/api/authMiddleware/token", basepath),
"authorization_endpoint": fmt.Sprintf("%s/auth/o/connect", basepath),
"token_endpoint": fmt.Sprintf("%s/api/auth/token", basepath),
"userinfo_endpoint": fmt.Sprintf("%s/api/users/me", basepath),
"response_types_supported": []string{"code", "token"},
"grant_types_supported": []string{"authorization_code", "implicit", "refresh_token"},

View File

@ -1,4 +1,4 @@
import Navigatior from "./shared/Navigatior.tsx";
import Navigator from "./shared/Navigator.tsx";
import { readProfiles, useUserinfo } from "../stores/userinfo.tsx";
import { createEffect, createMemo, createSignal, Show } from "solid-js";
import { readWellKnown } from "../stores/wellKnown.tsx";
@ -52,7 +52,7 @@ export default function RootLayout(props: any) {
</div>
}>
<Show when={!searchParams["embedded"]}>
<Navigatior />
<Navigator />
</Show>
<main class={`${mainContentStyles()} px-5`}>{props.children}</main>

View File

@ -8,7 +8,7 @@ interface MenuItem {
children?: MenuItem[];
}
export default function Navigatior() {
export default function Navigator() {
const nav: MenuItem[] = [
{
label: "You", children: [