feat: add TITLE in worker for custom website title (#276)

This commit is contained in:
Dream Hunter
2024-05-26 16:21:27 +08:00
committed by GitHub
parent 268f3d6446
commit 1f8edbc295
14 changed files with 93 additions and 10 deletions

View File

@@ -54,6 +54,7 @@ const getOpenSettings = async (message) => {
try {
const res = await api.fetch("/open_api/settings");
Object.assign(openSettings.value, {
title: res["title"] || "",
prefix: res["prefix"] || "",
needAuth: res["needAuth"] || false,
domains: res["domains"].map((domain) => {