From 06d921d855a0bd6522ea1a73e9c7b626a7721a15 Mon Sep 17 00:00:00 2001 From: Jai A Date: Mon, 18 Apr 2022 10:54:15 -0700 Subject: [PATCH] Fix login button --- nuxt.config.js | 4 +++- vercel.json | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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 + } }