Update v1.0.0-beta.12, addition of external APIs and optimization
Some checks failed
continuous-integration/drone/push Build was killed
continuous-integration/drone Build was killed

This commit is contained in:
2024-05-28 20:20:52 +02:00
parent b48abc756d
commit d76a781680
19 changed files with 742 additions and 169 deletions

View File

@@ -12,7 +12,7 @@ function sendDiscordWebhook(url, req, statusCode) {
const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;
const statusEmoji = statusCode === 200 ? '✅' : '❌';
const statusEmoji = [200, 302].includes(statusCode) ? '✅' : '❌';
const statusMessage = `**Statut:** ${statusEmoji} (${statusCode})`;
const timestamp = new Date().toLocaleString('fr-FR', { timeZone: 'UTC', hour12: false });