增加 API Key 滥用提示

This commit is contained in:
ivamp 2024-08-11 17:56:22 +08:00
parent 65fd7f3703
commit cf4485a962

View File

@ -3,6 +3,14 @@
<v-btn color="primary" @click="createShare">创建共享</v-btn>
<p class="mt-2">
API Key 默认是没有请求限制的为了防止 API Key
滥用对外发布时我们建议您包装一个 UI 界面比如使用 PHP
等做一个请求限制来防止 API Key 滥用
<br />
当然如果您在自己的私有应用中使用可以忽略此建议
</p>
<div class="mt-3">
<p class="mb-3">共享列表</p>
<v-row>
@ -15,7 +23,7 @@
>
<v-card>
<v-card-text>
<p>Api Key: {{ s.token }}</p>
<p>API Key: {{ s.token }}</p>
</v-card-text>
<v-card-actions>
<v-btn color="primary" @click="goto(s.token ?? 0)">访问共享</v-btn>