AppView in a box as a Vite plugin thing hatk.dev
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: add /oauth-client-metadata.json to HATK_ROUTES

This path wasn't matched by the /oauth/ prefix since it starts with
/oauth- not /oauth/, causing it to fall through to SvelteKit (404).

Bumps to 0.0.1-alpha.30.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+2 -2
+1 -1
packages/hatk/package.json
··· 1 1 { 2 2 "name": "@hatk/hatk", 3 - "version": "0.0.1-alpha.29", 3 + "version": "0.0.1-alpha.30", 4 4 "license": "MIT", 5 5 "bin": { 6 6 "hatk": "dist/cli.js"
+1 -1
packages/hatk/src/adapter.ts
··· 60 60 } 61 61 62 62 /** Routes handled by hatk — everything else can fall through to a framework handler. */ 63 - export const HATK_ROUTES = ['/xrpc/', '/oauth/', '/.well-known/', '/og/', '/admin', '/repos', '/info/', '/_health', '/robots.txt', '/auth/logout', '/__dev/'] 63 + export const HATK_ROUTES = ['/xrpc/', '/oauth/', '/oauth-client-metadata.json', '/.well-known/', '/og/', '/admin', '/repos', '/info/', '/_health', '/robots.txt', '/auth/logout', '/__dev/'] 64 64 65 65 export function isHatkRoute(pathname: string): boolean { 66 66 return HATK_ROUTES.some(r => pathname.startsWith(r) || pathname === r)