Skip to content

Commit

Permalink
fix(env): add CF_PAGES_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
damienrobinson committed Dec 4, 2022
1 parent 742fba7 commit d061357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const BASE_URL = (
process.env.DEPLOY_URL ||
process.env.URL ||
process.env.VERCEL_URL ||
process.env.CF_PAGES_URL ||
`http${PORT === 433 ? 's' : ''}://${HOST}${
[433, 80].includes(PORT) ? '' : `:${PORT}`
}`
Expand Down

0 comments on commit d061357

Please sign in to comment.