fix: basePath that causing build failure

This commit is contained in:
mbaharip
2025-01-24 17:48:14 +07:00
parent 83b7f4ba0a
commit 63b48734c6
+1 -1
View File
@@ -17,7 +17,7 @@ const config: z.input<typeof Schema_Config> = {
* @default process.env.NEXT_PUBLIC_DOMAIN
* @fallback process.env.NEXT_PUBLIC_VERCEL_URL
*/
basePath: IS_DEV ? "http://localhost:3000" : new URL(BASE_URL).toString(),
basePath: IS_DEV ? "http://localhost:3000" : `https://${BASE_URL}`,
/**
* Show deploy guide dropdown on navbar