We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f73d361 commit 39bae6aCopy full SHA for 39bae6a
server/utils/boot/MetaGenerator.js
@@ -181,10 +181,19 @@ class MetaGenerator {
181
async #fetchConfg() {
182
this.#log(`fetching custom meta tag settings...`);
183
const { SystemSettings } = require("../../models/systemSettings");
184
- const customTitle = await SystemSettings.getValueOrFallback(
+
185
+ let customTitle = await SystemSettings.getValueOrFallback(
186
{ label: "meta_page_title" },
187
null
188
);
189
190
+ if (!customTitle) {
191
+ customTitle = await SystemSettings.getValueOrFallback(
192
+ { label: "custom_app_name" },
193
+ null
194
+ );
195
+ }
196
197
const faviconURL = await SystemSettings.getValueOrFallback(
198
{ label: "meta_page_favicon" },
199
0 commit comments