diff --git a/nuxt.config.js b/nuxt.config.js index 00d6a430c..e5b172508 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -298,7 +298,9 @@ export default { function getDomain() { if (process.env.NODE_ENV === 'production') { - if (process.env.HEROKU_APP_NAME) { + if (process.env.SITE_URL) { + return process.env.SITE_URL + } else if (process.env.HEROKU_APP_NAME) { return `https://${process.env.HEROKU_APP_NAME}.herokuapp.com` } else if (process.env.VERCEL_URL) { return `https://${process.env.VERCEL_URL}` diff --git a/vercel.json b/vercel.json index 9d3e5ceee..a7d01c073 100644 --- a/vercel.json +++ b/vercel.json @@ -5,5 +5,8 @@ "use": "@nuxtjs/vercel-builder", "config": {} } - ] + ], + "github": { + "silent": true + } }