mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-01 04:12:02 +08:00
feat: add COPYRIGHT (#183)
This commit is contained in:
@@ -49,7 +49,7 @@ const apiFetch = async (path, options = {}) => {
|
||||
const getOpenSettings = async (message) => {
|
||||
try {
|
||||
const res = await api.fetch("/open_api/settings");
|
||||
openSettings.value = {
|
||||
Object.assign(openSettings.value, {
|
||||
prefix: res["prefix"] || "",
|
||||
needAuth: res["needAuth"] || false,
|
||||
domains: res["domains"].map((domain) => {
|
||||
@@ -62,7 +62,8 @@ const getOpenSettings = async (message) => {
|
||||
enableUserCreateEmail: res["enableUserCreateEmail"] || false,
|
||||
enableUserDeleteEmail: res["enableUserDeleteEmail"] || false,
|
||||
enableAutoReply: res["enableAutoReply"] || false,
|
||||
};
|
||||
copyright: res["copyright"] || openSettings.value.copyright,
|
||||
});
|
||||
if (openSettings.value.needAuth) {
|
||||
showAuth.value = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user