Add web app manifest, bump version to 0.1.1

manifest.ts uses icon.svg and the app's palette for background/theme
color. Excluded /manifest.webmanifest from the auth gate in proxy.ts,
same as icon.svg/favicon.ico - it must be publicly fetchable regardless
of login state.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W8WkFF5ppURBAB918593Eb
This commit is contained in:
2026-08-25 17:02:19 +02:00
co-authored by Claude Sonnet 5
parent 44dc5ef43c
commit 9bc055deb8
3 changed files with 24 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
import type { MetadataRoute } from "next";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "SEXY",
short_name: "SEXY",
description: "Bluetooth toy control console",
start_url: "/",
display: "standalone",
background_color: "#15131f",
theme_color: "#15131f",
icons: [
{
src: "/icon.svg",
sizes: "any",
type: "image/svg+xml",
},
],
};
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "sexy",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"dev": "next dev",
+3 -1
View File
@@ -22,5 +22,7 @@ export default async function proxy(req: NextRequest) {
}
export const config = {
matcher: ["/((?!_next/static|_next/image|favicon.ico|icon.svg|login|api/auth/login|api/health).*)"],
matcher: [
"/((?!_next/static|_next/image|favicon.ico|icon.svg|manifest.webmanifest|login|api/auth/login|api/health).*)",
],
};