You've already forked AstralRinth
forked from didirus/AstralRinth
Fix login button
This commit is contained in:
@@ -298,7 +298,9 @@ export default {
|
|||||||
|
|
||||||
function getDomain() {
|
function getDomain() {
|
||||||
if (process.env.NODE_ENV === 'production') {
|
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`
|
return `https://${process.env.HEROKU_APP_NAME}.herokuapp.com`
|
||||||
} else if (process.env.VERCEL_URL) {
|
} else if (process.env.VERCEL_URL) {
|
||||||
return `https://${process.env.VERCEL_URL}`
|
return `https://${process.env.VERCEL_URL}`
|
||||||
|
|||||||
@@ -5,5 +5,8 @@
|
|||||||
"use": "@nuxtjs/vercel-builder",
|
"use": "@nuxtjs/vercel-builder",
|
||||||
"config": {}
|
"config": {}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"github": {
|
||||||
|
"silent": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user