chore: /availability - Remove Pages Router / Render App Router (#16517)

* /availability: Remove Pages Router / Render App Router

* comment out server side fetching

* fix

* refactor for safer code

* add to config.matcher
This commit is contained in:
Benny Joo authored and GitHub committed 2024-12-13 12:44:57 +00:00
1 parent 851d96423b
commit b97331aeb3
14 files changed
+133 -139

No files matched your search

-1
View File
@@ -25,7 +25,6 @@ const ROUTES: [URLPattern, boolean][] = [
["/booking/:path*", process.env.APP_ROUTER_BOOKING_ENABLED === "1"] as const,
["/team", process.env.APP_ROUTER_TEAM_ENABLED === "1"] as const,
["/teams", process.env.APP_ROUTER_TEAMS_ENABLED === "1"] as const,
["/availability", process.env.APP_ROUTER_AVAILABILITY_ENABLED === "1"] as const,
].map(([pathname, enabled]) => [
new URLPattern({
pathname,