This commit is contained in:
Alaister Young committed 2024-07-02 00:34:04 +08:00
1 parent 65fee7a1d3
commit 9ab40bbe1f
2 files changed
+2 -1

No files matched your search

@@ -13,6 +13,7 @@ const SignInWithGitHub = () => {
async function handleGithubSignIn() {
setLoading(true)
console.log('process.env.NEXT_PUBLIC_VERCEL_ENV:', process.env.NEXT_PUBLIC_VERCEL_ENV)
try {
// redirects to /sign-in to check if the user has MFA setup (handled in SignInLayout.tsx)
const redirectTo = buildPathWithParams(
+1 -1
View File
@@ -52,7 +52,7 @@ export default defineConfig(({ mode }) => {
dependencies: ['react-use', 'lodash', 'awesome-debounce-promise', 'p-queue'],
}),
remix({
basename: process.env.NEXT_PUBLIC_BASE_PATH ?? '/',
basename: process.env.NEXT_PUBLIC_BASE_PATH,
ssr: false,
future: {
v3_fetcherPersist: true,