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:
Mauricio Siu
2026-02-27 11:24:56 -06:00
parent a85fb76a95
commit 3479bf74e7
3 changed files with 9 additions and 7 deletions

View File

@@ -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);