mirror of
https://github.com/Dokploy/website.git
synced 2026-07-23 06:45:29 +02:00
fix: update build command and API URL for local development
- Modified the build command in package.json to include webpack. - Updated the local API URL in the blog page component to reflect the new development port. - Refactored the Ghost API request handling to prevent sending the slug as a query parameter, improving error handling.
This commit is contained in:
@@ -39,7 +39,7 @@ export async function generateMetadata(
|
||||
"/api/og",
|
||||
process.env.NODE_ENV === "production"
|
||||
? "https://dokploy.com"
|
||||
: "http://localhost:3000",
|
||||
: "http://localhost:3001",
|
||||
);
|
||||
ogUrl.searchParams.set("slug", slug);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user