Skip to content

armgit / pdfcn

Public Imported from GitHub
0

Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.

refactor: update fallback site origin and registry configuration for consistency

Aniket-5081be3b39382b2
diff --git a/components.json b/components.json
index 6f1f2f3..4ee62ee 100644
--- a/components.json
+++ b/components.json
@@ -17,8 +17,5 @@
"lib": "@/lib",
"hooks": "@/hooks"
},
- "iconLibrary": "lucide",
- "registries": {
- "@pdfcn": "https://pdfcn.vercel.app/r/{name}.json"
- }
+ "iconLibrary": "lucide"
}
diff --git a/constants/site.ts b/constants/site.ts
index e6f0b7c..717efc8 100644
--- a/constants/site.ts
+++ b/constants/site.ts
@@ -1,4 +1,4 @@
-export const FALLBACK_SITE_ORIGIN = "https://pdfcn.vercel.app" as const;
+export const FALLBACK_SITE_ORIGIN = "https://pdfcn.dev" as const;
const getBaseUrl = () => {
if (process.env.NODE_ENV !== "production") {
@@ -34,7 +34,7 @@ export const SITE = {
] as const,
NAME: "pdfcn",
OG_IMAGE: `${baseUrl}/og`,
- REGISTRY: baseUrl,
+ REGISTRY: "@pdfcn",
URL: baseUrl,
};