From 27e93d0dcc5b1e5c5c2300696078ff58eff9fbc1 Mon Sep 17 00:00:00 2001 From: Travis Vachon Date: Wed, 20 Oct 2021 10:11:16 -0700 Subject: [PATCH 1/4] s/understory.com/silio.me/ fix bug in prod --- components/onboarding/Welcome.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/onboarding/Welcome.jsx b/components/onboarding/Welcome.jsx index ed4cb180..8510de08 100644 --- a/components/onboarding/Welcome.jsx +++ b/components/onboarding/Welcome.jsx @@ -8,7 +8,7 @@ export default function Welcome() { const [badHandle, setBadHandle] = useState(false) const [loggingIn, setLoggingIn] = useState(false) const { loginHandle, logout } = useAuthentication() - const handle = username.includes(".") ? username : `${username}.myunderstory.com` + const handle = username.includes(".") ? username : `${username}.mysilio.me` async function logIn() { setBadHandle(false) setLoggingIn(true) From 3fb87c581c0d899a88b9d14b2f5f33a73c6a9151 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Wed, 20 Oct 2021 12:32:42 -0700 Subject: [PATCH 2/4] Fix login and account creation flow --- utils/fetch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/fetch.js b/utils/fetch.js index 03c9ff0a..058bb7ac 100644 --- a/utils/fetch.js +++ b/utils/fetch.js @@ -22,7 +22,7 @@ export async function postFormData(uri, body) { }); } -const SolidServerURI = "https://myunderstory.com"; +const SolidServerURI = "https://mysilio.me"; export async function sendMagicLink(username, email) { const magicLinkURI = SolidServerURI + "/magic-link/generate"; @@ -30,7 +30,7 @@ export async function sendMagicLink(username, email) { return postFormData(magicLinkURI, { username, email, - returnToUrl: `https://mysilio.garden/login/${username}.myunderstory.com`, + returnToUrl: `https://mysilio.garden/login/${username}.mysilio.me`, }); } From 7e54ef73300a3441e5fb6b2860220d20512b5f89 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Wed, 20 Oct 2021 12:33:06 -0700 Subject: [PATCH 3/4] Fix demo images --- next.config.js | 2 +- pages/demo.jsx | 44 ++++++++++++++++++++++---------------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/next.config.js b/next.config.js index 5899516f..b11362cb 100644 --- a/next.config.js +++ b/next.config.js @@ -12,6 +12,6 @@ module.exports = { return config; }, images: { - domains: ["ian.myunderstory.com"], + domains: ["myunderstory.com", "mysilio.me"], }, }; diff --git a/pages/demo.jsx b/pages/demo.jsx index 7aad47ea..93893881 100644 --- a/pages/demo.jsx +++ b/pages/demo.jsx @@ -8,7 +8,7 @@ const W = 1920; const H = 924; export const StoragePrefix = - "https://ian.myunderstory.com/public/demo/ImageMap/demo/"; + "https://ian.mysilio.me/public/demo/ImageMap/demo/"; export const DemoPath = "/demo"; export const DemoPrefix = `${DemoPath}/`; @@ -23,7 +23,7 @@ export const MountainDashboard = { }, { // READ ME - href: "/u/tani.myunderstory.com/default/5LSGKY1KZn", + href: "/u/tani.mysilio.me/default/5LSGKY1KZn", coords: [950, 400, 1200, 600], }, { @@ -54,32 +54,32 @@ export const PathPitch = { areas: [ { // Funding - href: "/u/tani.myunderstory.com/default/VcgmBzxsm5ZasszycqkMTenHMP4BQ4", + href: "/u/tani.mysilio.me/default/VcgmBzxsm5ZasszycqkMTenHMP4BQ4", coords: [700, 50, 1000, 275], }, { // Team - href: "/u/tani.myunderstory.com/default/271EUcxT76uHPAgVroyvdM4C", + href: "/u/tani.mysilio.me/default/271EUcxT76uHPAgVroyvdM4C", coords: [1000, 100, 1350, 350], }, { // Market Size - href: "/u/tani.myunderstory.com/default/44VHTqLcTKDP6KQVHYsro", + href: "/u/tani.mysilio.me/default/44VHTqLcTKDP6KQVHYsro", coords: [600, 275, 900, 550], }, { // Why Now? - href: "/u/tani.myunderstory.com/default/LyQfwzaipmL", + href: "/u/tani.mysilio.me/default/LyQfwzaipmL", coords: [1100, 0, 1400, 700], }, { // Product vision - href: "/u/tani.myunderstory.com/default/pFcGoTnHLbR6vXHZdEVW89bZYgmJesMkyK", + href: "/u/tani.mysilio.me/default/pFcGoTnHLbR6vXHZdEVW89bZYgmJesMkyK", coords: [450, 550, 900, H], }, { // Garden Soil - href: "/u/tani.myunderstory.com/default/E2NKVij", + href: "/u/tani.mysilio.me/default/E2NKVij", coords: [200, 300, 550, 600], }, ], @@ -89,42 +89,42 @@ export const ForestLibrary = { areas: [ { // Butterfly // Infinite rooms for thought - href: "/u/tani.myunderstory.com/default/jRZ5QCkALH1Z2MW1xHsBdKGvbwLVVzubXq", + href: "/u/tani.mysilio.me/default/jRZ5QCkALH1Z2MW1xHsBdKGvbwLVVzubXq", coords: [200, 370, 380, 600], }, { // Normal Bee // Building the Creator economy - href: " /u/tani.myunderstory.com/default/21jdcZML2hG1YXioHasgSxujziGBMSWk3FHvCuW", + href: " /u/tani.mysilio.me/default/21jdcZML2hG1YXioHasgSxujziGBMSWk3FHvCuW", coords: [480, 0, 780, 500], }, { // Plants // Digital Gardens - href: "/u/tani.myunderstory.com/default/dv4H3AEmdZk6zUNbmuw", + href: "/u/tani.mysilio.me/default/dv4H3AEmdZk6zUNbmuw", coords: [840, 0, 1500, 600], }, { // Cartoon Bee // Metaverse - href: "/u/tani.myunderstory.com/default/2PmGzU397iuQQ", + href: "/u/tani.mysilio.me/default/2PmGzU397iuQQ", coords: [1600, 140, 1750, 320], }, { // Two Shroom Snail // Platform Coops - href: "/u/tani.myunderstory.com/default/iLBJkb92sXiECbA9cvv", + href: "/u/tani.mysilio.me/default/iLBJkb92sXiECbA9cvv", coords: [0, 650, 420, H], }, { // Single Shroom // Mysilio Reading Room - href: "/u/tani.myunderstory.com/default/3AD3JFXpdDPRKP4z8", + href: "/u/tani.mysilio.me/default/3AD3JFXpdDPRKP4z8", coords: [700, 610, 970, H], }, { // Triple Shroom // Social Knowledge Graphs - href: "/u/tani.myunderstory.com/default/3PHaBYD9kMsF8kdvk1mHKpohYZkpRb3g", + href: "/u/tani.mysilio.me/default/3PHaBYD9kMsF8kdvk1mHKpohYZkpRb3g", coords: [1140, 610, 1390, H], }, { // Gnome // Worldbuilding - href: "/u/tani.myunderstory.com/default/6RUdmJM9BtHedkV8wzrzFvQmg7VeZ4RVQBMcdw37", + href: "/u/tani.mysilio.me/default/6RUdmJM9BtHedkV8wzrzFvQmg7VeZ4RVQBMcdw37", coords: [1610, 710, W, H], }, ], @@ -135,32 +135,32 @@ export const SkyVision = { areas: [ { // Left Cloud // Mysilio Brand - href: "/u/tani.myunderstory.com/default/FW445yWvwojgTfQJBjQUFu", + href: "/u/tani.mysilio.me/default/FW445yWvwojgTfQJBjQUFu", coords: [0, 0, 530, 650], }, { // Sun // Vision - href: "/u/tani.myunderstory.com/default/21jdcZML2hG1YXioHasxihdiw6feEENXejepjdt", + href: "/u/tani.mysilio.me/default/21jdcZML2hG1YXioHasxihdiw6feEENXejepjdt", coords: [530, 0, 980, 500], }, { // Blue Bird // Tani - href: "/u/tani.myunderstory.com/default/3yYHoe", + href: "/u/tani.mysilio.me/default/3yYHoe", coords: [980, 250, 1280, 550], }, { // Orange Bird // Ian - href: "/u/ian.myunderstory.com/default/HHkbwnJkxhr", + href: "/u/ian.mysilio.me/default/HHkbwnJkxhr", coords: [1280, 520, 1620, H], }, { // Yellow Bird // Travis - href: "/u/travis.myunderstory.com/default/4bZUgk5Cs7UuP9Eg5QeT5ZrAwAYgQNLSyZ5M", + href: "/u/travis.mysilio.me/default/4bZUgk5Cs7UuP9Eg5QeT5ZrAwAYgQNLSyZ5M", coords: [820, 550, 1150, H], }, { // Right Cloud // Art n' D - href: "/u/tani.myunderstory.com/default/BzfF7kX", + href: "/u/tani.mysilio.me/default/BzfF7kX", coords: [1300, 0, W, 550], }, ], From dcc64eb4bfe5f0fb8bf5ba813f77d75ae0ae7170 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Wed, 20 Oct 2021 12:40:42 -0700 Subject: [PATCH 4/4] Wildcard / subdomains are not yet supported. https://github.com/vercel/next.js/pull/27345 --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index b11362cb..1f7f4374 100644 --- a/next.config.js +++ b/next.config.js @@ -12,6 +12,6 @@ module.exports = { return config; }, images: { - domains: ["myunderstory.com", "mysilio.me"], + domains: ["ian.mysilio.me"], }, };