diff --git a/server.js b/server.js index 728e6f9..34a4827 100644 --- a/server.js +++ b/server.js @@ -71,6 +71,7 @@ async function route(req, res) { res.setHeader("Cache-Control", "no-store, max-age=0"); return file(res, path.join(PUBLIC_DIR, "widget.js"), "application/javascript; charset=utf-8"); } + if (req.method === "GET" && url.pathname === "/tailwind.css") return file(res, path.join(PUBLIC_DIR, "tailwind.css"), "text/css; charset=utf-8"); if (req.method === "GET" && url.pathname.startsWith("/admin.")) return servePublic(res, url.pathname); if (url.pathname.match(/^\/api\/telegram\/webhook\/[^/]+$/) && req.method === "POST") return telegramWebhook(req, res, url);