Skip to content

Commit bed4323

Browse files
committed
feat: add links to the status page
1 parent 468fd54 commit bed4323

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/handlers/handleStatusPage.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ function getBackendsInformation(): string {
8181
}
8282
if (supportedRegions.length === 0) {
8383
information +=
84-
'<li>⚠️ Your integration is missing backend hosts for region support. Please add at least one of the backends "api.fpjs.io", "eu.api.fpjs.io", or "ap.api.fpjs.io"</li>'
84+
'<li>⚠️ Your integration is missing backend hosts for <a href="https://dev.fingerprint.com/docs/regions">region support</a>. Please add at least one of the backends "api.fpjs.io", "eu.api.fpjs.io", or "ap.api.fpjs.io"</li>'
8585
} else {
86-
information += `<li>ℹ️ Integration is configured for these regions: <strong>${supportedRegions.join(', ')}</strong></li>`
86+
information += `<li>ℹ️ Integration is configured for these <a href="https://dev.fingerprint.com/docs/regions">regions</a>: <strong>${supportedRegions.join(', ')}</strong></li>`
8787
}
8888

8989
return information
@@ -123,7 +123,7 @@ async function checkKVStoreAvailability() {
123123
function createContactInformationElement(): string {
124124
return `
125125
<p>
126-
❓Please reach out our support via <a href='mailto:support@fingerprint.com'>support@fingerprint.com</a> if you have any issues.
126+
❓Please <a href="https://fingerprint.com/support">reach out to our support team</a> if you have any issues.
127127
</p>
128128
`
129129
}
@@ -222,7 +222,7 @@ async function createOpenClientResponseInformationElement(env: IntegrationEnv):
222222
]
223223

224224
let result = ''
225-
result += `<p style="display: block">🔌 Open client response configuration values:<br>(Optional, only relevant if you are using Open client response plugins)</p>`
225+
result += `<p style="display: block">🔌 Open client response configuration values:<br>(Optional, only relevant if you are using <a href="https://dev.fingerprint.com/docs/using-open-client-response-with-fastly-compute-proxy-integration-plugins">Open client response plugins</a>)</p>`
226226

227227
result += '<ul>'
228228
for (const config of configurations) {

0 commit comments

Comments
 (0)