File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## [ 0.1.16 ] - 2025-11-19
8+ ## [ 0.1.17 ] - 2025-11-19
99
1010### Added
1111
Original file line number Diff line number Diff line change 11{
22 "name" : " @pangeacyber/vanilla-js" ,
33 "description" : " Generic javascript integrations with Pangea" ,
4- "version" : " 0.1.16 " ,
4+ "version" : " 0.1.17 " ,
55 "main" : " dist/cjs/index.js" ,
66 "module" : " dist/esm/index.js" ,
77 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -156,6 +156,10 @@ export class AuthNClient {
156156 }
157157
158158 if ( ! ! this . config . apiPathPrefix ) {
159+ if ( this . config . apiPathPrefix . startsWith ( "http" ) ) {
160+ return `${ this . config . apiPathPrefix } ${ version_ } ${ endpoint } ` ;
161+ }
162+
159163 return `${ window . location . origin } ${ this . config . apiPathPrefix } ${ version_ } ${ endpoint } ` ;
160164 }
161165
You can’t perform that action at this time.
0 commit comments