Skip to content

Commit

Permalink
Added default value to BASE_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed Aug 17, 2020
1 parent 9b5fb4b commit e68ad73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export default {
id: process.env.GTM_ID || "GTM-NMKVBMV",
},
sitemap: {
hostname: process.env.BASE_URL,
hostname: process.env.BASE_URL || "https://hoppscotch.io/",
},
robots: {
UserAgent: "*",
Expand All @@ -197,7 +197,7 @@ export default {
MESSAGING_SENDER_ID: process.env.MESSAGING_SENDER_ID,
APP_ID: process.env.APP_ID,
MEASUREMENT_ID: process.env.MEASUREMENT_ID,
BASE_URL: process.env.BASE_URL || "/",
BASE_URL: process.env.BASE_URL,
},
i18n: {
locales: [
Expand Down

0 comments on commit e68ad73

Please sign in to comment.