mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Oops
This commit is contained in:
parent
85c3332c76
commit
f1324ae0e4
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||||
|
|
|
@ -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"];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue