Skip to content

Commit

Permalink
Merge pull request #8 from EqualifyEverything/azdak-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisischris committed Aug 28, 2024
2 parents b850a23 + 1906436 commit 59cc33c
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 59cc33c

Please sign in to comment.