revert fb8e77bb68
Local Build and Deploy / deploy (push) Successful in 1m11s

revert style: clean up code with prettier and eslint
This commit is contained in:
remco committed 2026-07-12 21:02:03 +02:00
1 parent 27de078f54
commit e85e4d74ea
378 files changed
+20710 -22428

No files matched your search

+6 -6
View File
@@ -1,9 +1,9 @@
import { resolveGordonBuildUrl } from "@/lib/services/import/core/gordon";
import { siteSettings } from "@/lib/services/site-settings";
import { resolveGordonBuildUrl } from '@/lib/services/import/core/gordon'
import { siteSettings } from '@/lib/services/site-settings'
export async function resolveFigureSwfUrl(lib: string): Promise<string> {
const override = ((await siteSettings.get("figure_swf_base_url", "")) ?? "").trim();
if (override) return `${override.replace(/\/+$/, "")}/${lib}.swf`;
const gordon = await resolveGordonBuildUrl();
return `${gordon}${lib}.swf`;
const override = ((await siteSettings.get('figure_swf_base_url', '')) ?? '').trim()
if (override) return `${override.replace(/\/+$/, '')}/${lib}.swf`
const gordon = await resolveGordonBuildUrl()
return `${gordon}${lib}.swf`
}