feat: add changelog/roadmap types, Sanity queries, and public route whitelist
This commit is contained in:
@@ -25,6 +25,10 @@ function isPublicPath(pathname: string) {
|
||||
if (pathname === "/guides") return true;
|
||||
if (pathname.startsWith("/guides/")) return true;
|
||||
|
||||
// Changelog and feedback — always public
|
||||
if (pathname === "/changelog") return true;
|
||||
if (pathname === "/feedback") return true;
|
||||
|
||||
// Static / framework assets
|
||||
if (pathname.startsWith("/_next")) return true;
|
||||
if (pathname === "/favicon.ico") return true;
|
||||
|
||||
Reference in New Issue
Block a user