Logo
Explore Help
Register Sign In
valknar/sexy
1
0
Fork 0
You've already forked sexy
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
3fd876180afe0c93403d02b53413c4eedc55667c
sexy/packages/frontend/src/routes/me/+page.server.ts

5 lines
107 B
TypeScript
Raw Normal View History

fix: add authentication guard to /me page - Redirect unauthenticated users to /login - Add error handling for getFolders API call - Prevent 500 errors from accessing undefined user properties This fixes the issue where clicking the header button to access the dashboard would show a 500 error for unauthenticated users. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 12:17:58 +01:00
import { redirect } from "@sveltejs/kit";
feat: refactor /me into admin-style layout with profile, security, recordings, analytics sub-pages Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 17:47:00 +01:00
export function load() {
throw redirect(302, "/me/profile");
A new start
2025-10-25 22:04:41 +02:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 52ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API