Skip to content

Commit

Permalink
Fix Nuxt SEO OG:IMAGE not found
Browse files Browse the repository at this point in the history
Use `SITE_URL` instead of `NUXT_PUBLIC_SITE_URL`, as it doesn't exist and was therefore falling back to localhost:3000 in production. `NUXT_PUBLIC_SITE_URL`  isn't noted in the README for the frontend install instructions of AgencyOS and is specific to Nuxt SEO OG:IMAGE.
  • Loading branch information
Abdallah-Awwad committed May 14, 2024
1 parent 84af2fa commit 0aa94a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default defineNuxtConfig({
},

site: {
url: process.env.NUXT_PUBLIC_SITE_URL || 'http://localhost:3000',
url: process.env.SITE_URL || 'http://localhost:3000',
name: 'AgencyOS',
},

Expand Down

0 comments on commit 0aa94a7

Please sign in to comment.