Have a single place to define the repo url

This commit is contained in:
Misode
2025-01-04 19:05:23 +01:00
parent 0b73a6056a
commit 55dc606ddc
4 changed files with 8 additions and 5 deletions

View File

@@ -11,6 +11,8 @@ import config from './Config.js'
import type { VersionId } from './services/index.js'
import { checkVersion } from './services/index.js'
export const SOURCE_REPO_URL = 'https://github.com/misode/misode.github.io'
export function isPromise(obj: any): obj is Promise<any> {
return typeof (obj as any)?.then === 'function'
}