updated placeholder content a bit/ added a warn test which was somehow missed

This commit is contained in:
BlueSkiesAndGreenPastures
2025-06-23 12:55:37 -05:00
parent 70e9ea9387
commit fb1ee87596
2 changed files with 125 additions and 12 deletions
+3 -3
View File
@@ -108,9 +108,9 @@ export default function (ctx: AppContext, app: Express) {
redirectLogger.info(`Warn rule matched for ${rulePresent.url}`)
res.setHeader('Cache-Control', 'no-store')
const html = warnRedirect(
'Blocked Link',
'This link has been identified as malicious, it has been blocked to protect your account and data',
'Go Back To BlueSky',
'Warning: Malicious Link',
'This link has been identified as malicious, continue at your own risk',
'continue at your own risk',
'DANGER',
escapeHTML(url.toString()),
`https://${ctx.cfg.service.appHostname}`,