fix: inline Rybbit config to avoid client directive in server component
Some checks failed
Build and Deploy / build (push) Has been cancelled
Some checks failed
Build and Deploy / build (push) Has been cancelled
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user