From d20b1da904fcfc565f2106eca57c888f62c044a5 Mon Sep 17 00:00:00 2001 From: Hamish Meikle Date: Wed, 27 Jul 2022 11:53:27 +1200 Subject: [PATCH] Remove trailing slash (#13) --- package.json | 2 +- src/authsignal.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index db4cc9b..f36efff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@authsignal/browser", "type": "module", - "version": "0.0.9", + "version": "0.0.10", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/index.d.ts", diff --git a/src/authsignal.ts b/src/authsignal.ts index 8e03afd..78b7489 100644 --- a/src/authsignal.ts +++ b/src/authsignal.ts @@ -4,7 +4,7 @@ import {setCookie, getCookieDomain, getCookie} from "./helpers"; import {AuthsignalOptions, AuthsignalWindowMessage, MfaInput, ChallengeInput, LaunchOptions} from "./types"; import {PopupHandler} from "./popup-handler"; -const DEFAULT_ENDPOINT = "https://mfa.authsignal.com/"; +const DEFAULT_ENDPOINT = "https://mfa.authsignal.com"; const DEFAULT_COOKIE_NAME = "__as_aid"; export class Authsignal {