Fix config

This commit is contained in:
ThatOneCalculator 2023-01-23 10:35:51 -08:00
parent 4b2f9bd631
commit a28d818906

View File

@ -74,7 +74,7 @@ router.get("/.well-known/host-meta.json", async (ctx) => {
}; };
}); });
if (config.twa.nameSpace != null) { if (config.twa != null) {
router.get("/.well-known/assetlinks.json", async (ctx) => { router.get("/.well-known/assetlinks.json", async (ctx) => {
ctx.set("Content-Type", "application/json"); ctx.set("Content-Type", "application/json");
ctx.body = [ ctx.body = [