fix sentry endpoint

pull/1358/head
Aditya Maru 10 months ago
parent 31a478457f
commit 36669c3483

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

@ -32,8 +32,8 @@ const execAsync = promisify(exec);
async function getBlacksmithAPIUrl(): Promise<AxiosInstance> { async function getBlacksmithAPIUrl(): Promise<AxiosInstance> {
let apiUrl = process.env.PETNAME?.includes('staging') let apiUrl = process.env.PETNAME?.includes('staging')
? 'https://stagingapi.blacksmith.sh/cache' ? 'https://stagingapi.blacksmith.sh'
: 'https://api.blacksmith.sh/cache' : 'https://api.blacksmith.sh'
return axios.create({ return axios.create({
baseURL: apiUrl, baseURL: apiUrl,
headers: { headers: {

Loading…
Cancel
Save