From 42a2f22564a60d76332d88e8d5d53860c2d07957 Mon Sep 17 00:00:00 2001 From: Martin Lingstuyl Date: Wed, 18 Oct 2023 13:58:17 +0200 Subject: [PATCH] Fixes bug with authType browser. Closes #5578 --- src/Auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth.ts b/src/Auth.ts index 18e66b9045d..582b81bcfd3 100644 --- a/src/Auth.ts +++ b/src/Auth.ts @@ -361,7 +361,7 @@ export class Auth { // but also stub it for testing /* c8 ignore next 3 */ if (!this._authServer) { - this._authServer = (await import('./AuthServer')).default; + this._authServer = (await import('./AuthServer.js')).default; } (this._authServer as AuthServer).initializeServer(this.service, resource, resolve, reject, logger, debug);