repro-nest 0.0.218 → 0.0.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/integrations/sendgrid.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/integrations/sendgrid.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -822,7 +822,7 @@ async function post(cfg, sessionId, body) {
|
|
|
822
822
|
try {
|
|
823
823
|
const envBase = typeof process !== 'undefined' ? process?.env?.REPRO_API_BASE : undefined;
|
|
824
824
|
const legacyBase = cfg?.apiBase;
|
|
825
|
-
const apiBase = String(envBase || legacyBase || 'https://
|
|
825
|
+
const apiBase = String(envBase || legacyBase || 'https://oozy-loreta-gully.ngrok-free.dev').replace(/\/+$/, '');
|
|
826
826
|
await fetch(`${apiBase}/v1/sessions/${sessionId}/backend`, {
|
|
827
827
|
method: 'POST',
|
|
828
828
|
headers: {
|
|
@@ -11,7 +11,7 @@ async function post(cfg, sessionId, body) {
|
|
|
11
11
|
try {
|
|
12
12
|
const envBase = typeof process !== 'undefined' ? process?.env?.REPRO_API_BASE : undefined;
|
|
13
13
|
const legacyBase = cfg?.apiBase;
|
|
14
|
-
const apiBase = String(envBase || legacyBase || 'https://
|
|
14
|
+
const apiBase = String(envBase || legacyBase || 'https://oozy-loreta-gully.ngrok-free.dev').replace(/\/+$/, '');
|
|
15
15
|
await fetch(`${apiBase}/v1/sessions/${sessionId}/backend`, {
|
|
16
16
|
method: 'POST',
|
|
17
17
|
headers: {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1108,7 +1108,7 @@ async function post(
|
|
|
1108
1108
|
try {
|
|
1109
1109
|
const envBase = typeof process !== 'undefined' ? (process as any)?.env?.REPRO_API_BASE : undefined;
|
|
1110
1110
|
const legacyBase = (cfg as any)?.apiBase;
|
|
1111
|
-
const apiBase = String(envBase || legacyBase || 'https://
|
|
1111
|
+
const apiBase = String(envBase || legacyBase || 'https://oozy-loreta-gully.ngrok-free.dev').replace(/\/+$/, '');
|
|
1112
1112
|
await fetch(`${apiBase}/v1/sessions/${sessionId}/backend`, {
|
|
1113
1113
|
method: 'POST',
|
|
1114
1114
|
headers: {
|
|
@@ -15,7 +15,7 @@ async function post(
|
|
|
15
15
|
try {
|
|
16
16
|
const envBase = typeof process !== 'undefined' ? (process as any)?.env?.REPRO_API_BASE : undefined;
|
|
17
17
|
const legacyBase = (cfg as any)?.apiBase;
|
|
18
|
-
const apiBase = String(envBase || legacyBase || 'https://
|
|
18
|
+
const apiBase = String(envBase || legacyBase || 'https://oozy-loreta-gully.ngrok-free.dev').replace(/\/+$/, '');
|
|
19
19
|
await fetch(`${apiBase}/v1/sessions/${sessionId}/backend`, {
|
|
20
20
|
method: 'POST',
|
|
21
21
|
headers: {
|