We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
POST
1 parent fff73ef commit bf8fc6cCopy full SHA for bf8fc6c
src/utils/sdk-utils.ts
@@ -1,6 +1,6 @@
1
import Axios from 'axios'
2
import * as path from 'path'
3
-import {DEFAULT_PORT, HEALTHCHECK_PATH} from '../services/agent-service-constants'
+import {DEFAULT_PORT, HEALTHCHECK_PATH, SNAPSHOT_PATH} from '../services/agent-service-constants'
4
import {logError} from './logger'
5
6
export function agentJsFilename() {
@@ -23,7 +23,7 @@ export async function isAgentRunning() {
23
}
24
25
export async function postSnapshot(body: any) {
26
- const URL = `http://localhost:${DEFAULT_PORT}${HEALTHCHECK_PATH}`
+ const URL = `http://localhost:${DEFAULT_PORT}${SNAPSHOT_PATH}`
27
const ONE_HUNDRED_MB_IN_BYTES = 100_000_000
28
29
return Axios({
0 commit comments