fix(tracker): fix getsessionURL
This commit is contained in:
parent
5618d104f1
commit
0ece13064a
3 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
# 9.0.7
|
||||
|
||||
- fix for `getSessionURL` method
|
||||
|
||||
# 9.0.6
|
||||
|
||||
- added `tokenUrlMatcher` option to network settings, allowing to ingest session token header to custom allowed urls
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@openreplay/tracker",
|
||||
"description": "The OpenReplay tracker main package",
|
||||
"version": "9.0.6",
|
||||
"version": "9.0.7",
|
||||
"keywords": [
|
||||
"logging",
|
||||
"replay"
|
||||
|
|
|
|||
|
|
@ -418,7 +418,7 @@ export default class App {
|
|||
const ingest = this.options.ingestPoint
|
||||
const isSaas = /api\.openreplay\.com/.test(ingest)
|
||||
|
||||
const projectPath = isSaas ? 'https://openreplay.com/ingest' : ingest
|
||||
const projectPath = isSaas ? 'https://app.openreplay.com/ingest' : ingest
|
||||
|
||||
const url = projectPath.replace(/ingest$/, `${projectID}/session/${sessionID}`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue