From 5cce73ebbd01b00ab12470e30f838618de68b648 Mon Sep 17 00:00:00 2001 From: bytevictor Date: Thu, 11 Apr 2024 18:23:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20=F0=9F=9A=A7=20fix:=20Disabled?= =?UTF-8?q?=20Login=20temporally=20for=20github=20pages=20and=20capacitor?= =?UTF-8?q?=20build=20(login=20cannot=20work=20right=20now=20on=20serverle?= =?UTF-8?q?ss=20build)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(routes)/login/{page.tsx => _page.tsx} | 0 app/Components/ConfigMenu/Navbar.tsx | 2 +- app/api/auth/[...nextauth]/{route.ts => _route.ts} | 0 app/page.tsx | 4 ++-- next.config.js | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename app/(routes)/login/{page.tsx => _page.tsx} (100%) rename app/api/auth/[...nextauth]/{route.ts => _route.ts} (100%) diff --git a/app/(routes)/login/page.tsx b/app/(routes)/login/_page.tsx similarity index 100% rename from app/(routes)/login/page.tsx rename to app/(routes)/login/_page.tsx diff --git a/app/Components/ConfigMenu/Navbar.tsx b/app/Components/ConfigMenu/Navbar.tsx index 937a94a..41910fc 100644 --- a/app/Components/ConfigMenu/Navbar.tsx +++ b/app/Components/ConfigMenu/Navbar.tsx @@ -9,7 +9,7 @@ export default function MainNavbar() {
- + {/**/}
diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/_route.ts similarity index 100% rename from app/api/auth/[...nextauth]/route.ts rename to app/api/auth/[...nextauth]/_route.ts diff --git a/app/page.tsx b/app/page.tsx index 2d7461d..b9d05f7 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -13,10 +13,10 @@ const TaskAppNoSSR = dynamic(() => import("./Components/TasksApp/TasksTab"), { export default function Home() { return ( - + {/**/} - + {/**/} ); } diff --git a/next.config.js b/next.config.js index 91f2cae..9cfa5de 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,7 @@ * @type {import('next').NextConfig} */ const nextConfig = { - //output: 'export', + output: 'export', images: { remotePatterns: [