initial production version

This commit is contained in:
2025-11-25 16:08:50 +01:00
parent 44ce6e38dd
commit 0144e8df1a
108 changed files with 5502 additions and 1780 deletions

View File

@@ -0,0 +1,18 @@
diff --git a/node_modules/@auth/core/lib/utils/env.js b/node_modules/@auth/core/lib/utils/env.js
index 1234567..abcdefg 100644
--- a/node_modules/@auth/core/lib/utils/env.js
+++ b/node_modules/@auth/core/lib/utils/env.js
@@ -44,7 +44,12 @@ export function setEnvDefaults(envObject, config) {
return finalProvider;
});
}
-export function createActionURL(action, protocol, headers, envObject, basePath) {
+export function createActionURL(action, protocol, headers, envObject, configOrBasePath) {
+ // Fix: Extract basePath from config object if needed
+ const basePath = typeof configOrBasePath === 'object' && configOrBasePath !== null
+ ? configOrBasePath.basePath
+ : configOrBasePath;
+
let envUrl = envObject.AUTH_URL ?? envObject.NEXTAUTH_URL;
let url;
if (envUrl) {