From bdf1ab9d8f7b3b367f97989187dc27226acf4a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemek=20Wi=C4=99ch?= Date: Wed, 6 May 2026 00:04:23 +0200 Subject: [PATCH] npm run prettier --- src/app.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index e1f86ee..cbddabe 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -65,11 +65,7 @@ function getStaticUrl(): string | undefined { const metaTag = document.querySelector('meta[name="topola-static-url"]'); const metaUrl = metaTag?.getAttribute('content'); // Safely ignore if it is empty, the raw caddy template expression, or Vite's raw template placeholder - if ( - metaUrl && - !metaUrl.startsWith("__") && - !metaUrl.includes("{{ env") - ) { + if (metaUrl && !metaUrl.startsWith('__') && !metaUrl.includes('{{ env')) { return metaUrl; }