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
+5 -1
View File
@@ -1,7 +1,11 @@
<!-- markdownlint-disable-file MD004 MD024 MD034 MD036 --> <!-- markdownlint-disable-file MD004 MD024 MD034 MD036 -->
# CHANGE LOG # CHANGE LOG
## main(v0.8.3) ## main(v0.8.4)
- fix: |UI| 修复 admin portal 无收件人邮箱删除调用api 错误
## v0.8.3
- feat: |Github Action| 增加自动更新并部署功能 - feat: |Github Action| 增加自动更新并部署功能
- feat: |UI| admin 用户设置,支持 oauth2 配置的删除 - feat: |UI| admin 用户设置,支持 oauth2 配置的删除
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "cloudflare_temp_email", "name": "cloudflare_temp_email",
"version": "0.8.3", "version": "0.8.4",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
+1 -1
View File
@@ -11,7 +11,7 @@ const fetchMailUnknowData = async (limit, offset) => {
} }
const deleteMail = async (curMailId) => { const deleteMail = async (curMailId) => {
await api.fetch(`/api/mails/${curMailId}`, { method: 'DELETE' }); await api.fetch(`/admin/mails/${curMailId}`, { method: 'DELETE' });
}; };
</script> </script>
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "temp-email-pages", "name": "temp-email-pages",
"version": "0.8.3", "version": "0.8.4",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "temp-mail-docs", "name": "temp-mail-docs",
"private": true, "private": true,
"version": "0.8.3", "version": "0.8.4",
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {
"@types/node": "^22.10.2", "@types/node": "^22.10.2",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "cloudflare_temp_email", "name": "cloudflare_temp_email",
"version": "0.8.3", "version": "0.8.4",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
+1 -1
View File
@@ -1,5 +1,5 @@
export const CONSTANTS = { export const CONSTANTS = {
VERSION: 'v0.8.3', VERSION: 'v0.8.4',
// DB settings // DB settings
ADDRESS_BLOCK_LIST_KEY: 'address_block_list', ADDRESS_BLOCK_LIST_KEY: 'address_block_list',