Skip to content

Commit

Permalink
Merge pull request #9 from EqualifyEverything/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisischris committed Aug 29, 2024
2 parents b850a23 + 59cc33c commit 4e3cfb2
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 4e3cfb2

Please sign in to comment.