fix: |UI| admin mails unknown page call wrong api (#542)

This commit is contained in:
Dream Hunter
2025-01-05 01:14:36 +08:00
committed by GitHub
parent c964d77a59
commit 934e58e23b
7 changed files with 11 additions and 7 deletions

View File

@@ -1,7 +1,11 @@
<!-- markdownlint-disable-file MD004 MD024 MD034 MD036 -->
# CHANGE LOG
## main(v0.8.3)
## main(v0.8.4)
- fix: |UI| 修复 admin portal 无收件人邮箱删除调用api 错误
## v0.8.3
- feat: |Github Action| 增加自动更新并部署功能
- feat: |UI| admin 用户设置,支持 oauth2 配置的删除

View File

@@ -1,6 +1,6 @@
{
"name": "cloudflare_temp_email",
"version": "0.8.3",
"version": "0.8.4",
"private": true,
"type": "module",
"scripts": {

View File

@@ -11,7 +11,7 @@ const fetchMailUnknowData = async (limit, offset) => {
}
const deleteMail = async (curMailId) => {
await api.fetch(`/api/mails/${curMailId}`, { method: 'DELETE' });
await api.fetch(`/admin/mails/${curMailId}`, { method: 'DELETE' });
};
</script>

View File

@@ -1,6 +1,6 @@
{
"name": "temp-email-pages",
"version": "0.8.3",
"version": "0.8.4",
"description": "",
"main": "index.js",
"scripts": {

View File

@@ -1,7 +1,7 @@
{
"name": "temp-mail-docs",
"private": true,
"version": "0.8.3",
"version": "0.8.4",
"type": "module",
"devDependencies": {
"@types/node": "^22.10.2",

View File

@@ -1,6 +1,6 @@
{
"name": "cloudflare_temp_email",
"version": "0.8.3",
"version": "0.8.4",
"private": true,
"type": "module",
"scripts": {

View File

@@ -1,5 +1,5 @@
export const CONSTANTS = {
VERSION: 'v0.8.3',
VERSION: 'v0.8.4',
// DB settings
ADDRESS_BLOCK_LIST_KEY: 'address_block_list',