Add geoip data and 451 handler

This commit is contained in:
jude
2025-02-08 19:28:00 +00:00
parent 7ac69b59af
commit 98160a8023
9 changed files with 25436 additions and 9 deletions

View File

@ -14,13 +14,8 @@ use crate::web::guards::transaction::Transaction;
use crate::web::routes::dashboard::create_reminder_template;
use crate::web::{
check_authorization,
consts::{
MAX_CONTENT_LENGTH, MAX_EMBED_AUTHOR_LENGTH, MAX_EMBED_DESCRIPTION_LENGTH,
MAX_EMBED_FIELDS, MAX_EMBED_FIELD_TITLE_LENGTH, MAX_EMBED_FIELD_VALUE_LENGTH,
MAX_EMBED_FOOTER_LENGTH, MAX_EMBED_TITLE_LENGTH, MAX_URL_LENGTH, MAX_USERNAME_LENGTH,
},
routes::{
dashboard::{template_name_default, DeleteReminderTemplate, ReminderTemplate},
dashboard::{DeleteReminderTemplate, ReminderTemplate},
JsonResult,
},
};