File tree Expand file tree Collapse file tree 4 files changed +23
-23
lines changed
Expand file tree Collapse file tree 4 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ function CompanyLinks() {
347347 </ li >
348348 < li >
349349 < Link
350- to = "/bounties"
350+ to = "/bounties/ "
351351 className = "text-sm text-neutral-600 hover:text-stone-600 transition-colors no-underline hover:underline hover:decoration-dotted"
352352 >
353353 Bounties
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ function HeroSection() {
8888 Download for free
8989 </ Link >
9090 < Link
91- to = "/product/self-hosting"
91+ to = "/product/self-hosting/ "
9292 className = { cn ( [
9393 "px-6 py-3 text-base font-medium rounded-full" ,
9494 "border border-neutral-300 text-stone-600" ,
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ export const Route = createFileRoute("/admin")({
2626 const user = await fetchAdminUser ( ) ;
2727
2828 if ( ! user ) {
29- throw redirect ( {
30- to : "/auth" ,
31- search : {
32- flow : "web" ,
33- redirect : "/admin" ,
34- } ,
35- } ) ;
29+ throw redirect ( {
30+ to : "/auth/ " ,
31+ search : {
32+ flow : "web" ,
33+ redirect : "/admin/ " ,
34+ } ,
35+ } ) ;
3636 }
3737
3838 if ( ! user . isAdmin ) {
@@ -68,8 +68,8 @@ function AdminHeader({ user }: { user: { email: string } }) {
6868 < div className = "h-full px-6 flex items-center justify-between" >
6969 < div className = "flex items-center gap-6" >
7070 < Link
71- to = "/admin"
72- className = "font-serif2 italic text-stone-600 text-2xl"
71+ to = "/admin/ "
72+ className = "font-serif2 italic text-stone-600 text-2xl"
7373 >
7474 Content Admin
7575 </ Link >
@@ -82,8 +82,8 @@ function AdminHeader({ user }: { user: { email: string } }) {
8282 Articles
8383 </Link> */ }
8484 < Link
85- to = "/admin/media"
86- className = "relative py-1 text-sm text-neutral-600 hover:text-neutral-900 transition-colors [&.active]:text-neutral-900 font-medium [&.active]:after:absolute [&.active]:after:bottom-0 [&.active]:after:left-1/2 [&.active]:after:-translate-x-1/2 [&.active]:after:w-7 [&.active]:after:h-0.5 [&.active]:after:bg-neutral-900 [&.active]:after:rounded-full"
85+ to = "/admin/media/ "
86+ className = "relative py-1 text-sm text-neutral-600 hover:text-neutral-900 transition-colors [&.active]:text-neutral-900 font-medium [&.active]:after:absolute [&.active]:after:bottom-0 [&.active]:after:left-1/2 [&.active]:after:-translate-x-1/2 [&.active]:after:w-7 [&.active]:after:h-0.5 [&.active]:after:bg-neutral-900 [&.active]:after:rounded-full"
8787 activeProps = { { className : "active" } }
8888 >
8989 Media
Original file line number Diff line number Diff line change @@ -24,23 +24,23 @@ export const Route = createFileRoute("/auth")({
2424
2525 if ( user ) {
2626 if ( search . flow === "web" ) {
27- throw redirect ( { href : search . redirect || "/app/account" } ) ;
27+ throw redirect ( { to : search . redirect || "/app/account/ " } as any ) ;
2828 }
2929
3030 if ( search . flow === "desktop" ) {
3131 const supabase = getSupabaseServerClient ( ) ;
3232 const { data } = await supabase . auth . getSession ( ) ;
3333
3434 if ( data . session ) {
35- throw redirect ( {
36- to : "/callback/auth" ,
37- search : {
38- flow : "desktop" ,
39- scheme : search . scheme ,
40- access_token : data . session . access_token ,
41- refresh_token : data . session . refresh_token ,
42- } ,
43- } ) ;
35+ throw redirect ( {
36+ to : "/callback/auth/ " ,
37+ search : {
38+ flow : "desktop" ,
39+ scheme : search . scheme ,
40+ access_token : data . session . access_token ,
41+ refresh_token : data . session . refresh_token ,
42+ } ,
43+ } ) ;
4444 }
4545 }
4646 }
You can’t perform that action at this time.
0 commit comments