testronaut 1.0.12 → 1.0.13
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/bin/cli.js +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -149,7 +149,7 @@ async function handleLogin() {
|
|
|
149
149
|
|
|
150
150
|
// Call your authentication endpoint to get a session token
|
|
151
151
|
try {
|
|
152
|
-
const response = await fetch('http://testronaut.app/api/user/cli', { // Replace with your actual URL
|
|
152
|
+
const response = await fetch('http://api.testronaut.app/api/user/cli', { // Replace with your actual URL
|
|
153
153
|
method: 'POST',
|
|
154
154
|
headers: {
|
|
155
155
|
'Content-Type': 'application/json',
|
|
@@ -219,7 +219,7 @@ async function uploadReport() {
|
|
|
219
219
|
|
|
220
220
|
// Upload the report using the session token
|
|
221
221
|
try {
|
|
222
|
-
const response = await fetch(`http://testronaut.app/api/user/cli/${sessionToken}`, { // Replace with your API endpoint
|
|
222
|
+
const response = await fetch(`http://api.testronaut.app/api/user/cli/${sessionToken}`, { // Replace with your API endpoint
|
|
223
223
|
method: 'POST',
|
|
224
224
|
headers: {
|
|
225
225
|
'Content-Type': 'application/json',
|