Skip to content

Commit

Permalink
Point staging scans to scan-dev.equalify.app
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak authored Aug 27, 2024
1 parent b850a23 commit 1906436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/addScans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const addScans = async ({ request, reply }) => {
sitemap: 'sitemapurl',
}

const scanResponse = await (await fetch(`https://scan.equalify.app/generate/${discoveryDict?.[property.discovery] ?? 'url'}`, {
const scanResponse = await (await fetch(`https://scan${isStaging ? '-dev' : ''}.equalify.app/generate/${discoveryDict?.[property.discovery] ?? 'url'}`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ url: property.property_url, userId: jwtClaims.sub })
Expand Down

0 comments on commit 1906436

Please sign in to comment.