mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-21 19:35:59 -04:00
nicer base URL logic
This commit is contained in:
+8
-2
@@ -4,7 +4,14 @@ module.exports = {
|
||||
siteName: "Jake Jarvis",
|
||||
siteDomain: "jarv.is",
|
||||
siteLocale: "en_us",
|
||||
baseUrl: process.env.BASE_URL || "https://jarv.is",
|
||||
baseUrl:
|
||||
process.env.NEXT_PUBLIC_VERCEL_ENV === "production"
|
||||
? "https://jarv.is"
|
||||
: process.env.NEXT_PUBLIC_VERCEL_URL
|
||||
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`
|
||||
: process.env.IS_DEV_SERVER
|
||||
? "http://localhost:3000"
|
||||
: "", // fallback to relative URLs
|
||||
onionDomain: "http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion",
|
||||
shortDescription: "Front-End Web Developer in Boston, MA",
|
||||
longDescription:
|
||||
@@ -18,7 +25,6 @@ module.exports = {
|
||||
verifyGoogle: "qQhmLTwjNWYgQ7W42nSTq63xIrTch13X_11mmxBE9zk",
|
||||
verifyBing: "164551986DA47F7F6FC0D21A93FFFCA6",
|
||||
verifyFacebook: "q45jxbgyp22ef55xror1pvbehisg9m",
|
||||
monetization: "$ilp.uphold.com/BJp6d2FrEB69",
|
||||
fathomSiteId: "WBGNQUKW",
|
||||
webmentionId: "jarv.is",
|
||||
giscusConfig: {
|
||||
|
||||
Reference in New Issue
Block a user