fix: fix references to non-existent environment variable
Some checks failed
Deploy Next.js application / deploy (push) Failing after 21m53s
Some checks failed
Deploy Next.js application / deploy (push) Failing after 21m53s
This commit is contained in:
parent
e67ab5688f
commit
258280730b
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ export const metadata: Metadata = {
|
|||
title: "SVR.JS - a web server running on Node.JS",
|
||||
description:
|
||||
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.JS. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
||||
url: `${process.env.WEBSITE_URL}`,
|
||||
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}`,
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|||
title: "SVR.JS - a web server running on Node.JS",
|
||||
description:
|
||||
"Experience unparalleled flexibility with SVR.JS - the ultimate web server for Node.JS. Host web pages, run server-side JavaScript, utilize mods for extended functionality, and more. Integrated log viewer and user management tools included. Also supports Bun (experimental).",
|
||||
url: `${process.env.WEBSITE_URL}`,
|
||||
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}`,
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@ export async function GET() {
|
|||
// Define the site URL based on the environment
|
||||
const SITE_URL =
|
||||
process.env.NODE_ENV === "production"
|
||||
? `${process.env.WEBSITE_URL}`
|
||||
? `${process.env.NEXT_PUBLIC_WEBSITE_URL}`
|
||||
: "http://localhost:3000";
|
||||
|
||||
const postsQuery = `*[_type == 'blog'] | order(_createdAt desc) {
|
||||
|
|
Loading…
Reference in a new issue