;
-Page.PageWrapper = PageWrapper;
-
-export const getStaticPaths = async () => {
- const paths = Object.keys(AppCategories);
- const isPrismaAvailable = await isPrismaAvailableCheck();
- if (!isPrismaAvailable) {
- // Database is not available at build time. Make sure we fall back to building these pages on demand
- return {
- paths: [],
- fallback: "blocking",
- };
- }
-
- return {
- paths: paths.map((category) => ({ params: { category } })),
- fallback: false,
- };
-};
-
-export default Page;
-
-export { getStaticProps };
diff --git a/apps/web/pages/apps/categories/index.tsx b/apps/web/pages/apps/categories/index.tsx
deleted file mode 100644
index 54c738a5c9..0000000000
--- a/apps/web/pages/apps/categories/index.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import { getServerSideProps } from "@lib/apps/categories/getServerSideProps";
-
-import PageWrapper from "@components/PageWrapper";
-
-import type { PageProps } from "~/apps/categories/categories-view";
-import Apps from "~/apps/categories/categories-view";
-
-const Page = (props: PageProps) =>
;
-Page.PageWrapper = PageWrapper;
-
-export default Page;
-export { getServerSideProps };
diff --git a/apps/web/scripts/vercel-app-router-deploy.sh b/apps/web/scripts/vercel-app-router-deploy.sh
index b6157d9f46..014536edac 100755
--- a/apps/web/scripts/vercel-app-router-deploy.sh
+++ b/apps/web/scripts/vercel-app-router-deploy.sh
@@ -7,8 +7,6 @@ checkRoute () {
# These conditionals are used to remove directories from the build that are not needed in production
# This is to reduce the size of the build and prevent OOM errors
checkRoute "$APP_ROUTER_APPS_SLUG_SETUP_ENABLED" app/future/apps/\[slug\]/setup
-checkRoute "$APP_ROUTER_APPS_CATEGORIES_ENABLED" app/future/apps/categories
-checkRoute "$APP_ROUTER_APPS_CATEGORIES_CATEGORY_ENABLED" app/future/apps/categories/\[category\]
checkRoute "$APP_ROUTER_AUTH_FORGOT_PASSWORD_ENABLED" app/future/auth/forgot-password
checkRoute "$APP_ROUTER_AUTH_LOGIN_ENABLED" app/future/auth/login
checkRoute "$APP_ROUTER_AUTH_LOGOUT_ENABLED" app/future/auth/logout
diff --git a/turbo.json b/turbo.json
index 40a707ff31..9da10623fe 100644
--- a/turbo.json
+++ b/turbo.json
@@ -240,8 +240,6 @@
"ALLOWED_HOSTNAMES",
"ANALYZE",
"API_KEY_PREFIX",
- "APP_ROUTER_APPS_CATEGORIES_CATEGORY_ENABLED",
- "APP_ROUTER_APPS_CATEGORIES_ENABLED",
"APP_ROUTER_APPS_SLUG_SETUP_ENABLED",
"APP_ROUTER_AUTH_FORGOT_PASSWORD_ENABLED",
"APP_ROUTER_AUTH_LOGIN_ENABLED",