Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
Removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-andysign committed May 7, 2024
1 parent de8e508 commit a289e44
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/initialise_demo.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,6 @@ async function issueCertificate(
console.log('Detected off-line mode when using fetch. Using random vals.')
return issueAndWaitForComplete(hardcodedCertOptions)
}

// return fetch(carbonIntensityApiUrl)
// .then(async () => {
// return issueAndWaitForComplete(defaultCertOptions)
// })
// .catch(async () => {
// console.log('Detected off-line mode when using fetch. Using random vals.')
// return issueAndWaitForComplete(hardcodedCertOptions)
// })
}

const healthChecks = await Promise.all([
Expand Down

0 comments on commit a289e44

Please sign in to comment.