minor refactor

This commit is contained in:
2026-01-11 21:17:10 +01:00
parent 67dbb9c685
commit 1cf4940453
2 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ export const hosts = [
Vupload
];
export async function getHost(domain: string) {
export async function getHost(domain: string): Promise<Host | null> {
if (await HostSettings.getAllHostsDisabled()) return null;
const disabledIds = await HostSettings.getDisabledHosts();