fix: inline Rybbit config to avoid client directive in server component
Some checks failed
Build and Deploy / build (push) Has been cancelled

This commit is contained in:
Unchained
2026-03-31 00:50:33 +02:00
parent b3efebd3e4
commit 44091fc72a

View File

@@ -4,7 +4,10 @@ import { getMessages, setRequestLocale } from "next-intl/server";
import { SUPPORTED_LOCALES, DEFAULT_LOCALE, isValidLocale } from "@/lib/i18n/locales";
import { OpenPanelComponent } from "@openpanel/nextjs";
import Script from "next/script";
import { RYBBIT_HOST, RYBBIT_SITE_ID } from "@/lib/services/RybbitService";
// Rybbit configuration - defined inline to avoid client directive issues
const RYBBIT_HOST = "https://rybbit.nodecrew.me";
const RYBBIT_SITE_ID = "1";
const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://dev.manoonoils.com";