This commit is contained in:
yuanhau 2025-06-14 21:43:21 +08:00
parent 85c3332c76
commit f1324ae0e4
2 changed files with 5 additions and 2 deletions

View file

@ -2,5 +2,8 @@
const { t } = useI18n(); const { t } = useI18n();
</script> </script>
<template> <template>
<div></div> <div class="justify-center align-center text-center">
<h1 class="text-2xl text-bold">{{ t("pages.tos.title") }}</h1>
<p>{{ t("pages.tos.content") }}</p>
</div>
</template> </template>

View file

@ -13,7 +13,7 @@ export default defineEventHandler(async (event) => {
if (body.jsonValue.length === 0) { if (body.jsonValue.length === 0) {
const clearBadDataRegex = /[@-_.+a-zA-Z0-9]{2,}/; const clearBadDataRegex = /[@-_.+a-zA-Z0-9]{2,}/;
// Use Static values for now. // Use Static values for now.
const requestChange = body.name; const requestChange = body.action;
const apiKeyqq = body.value.match(clearBadDataRegex); const apiKeyqq = body.value.match(clearBadDataRegex);
const allowedColumns = ["firstname", "email"]; const allowedColumns = ["firstname", "email"];