diff --git a/android/README.md b/android/README.md index b9672ea2..ba23686f 100644 --- a/android/README.md +++ b/android/README.md @@ -106,7 +106,7 @@ yarn dev # or prod ### Deployed mode -If you want the webview to load from the deployed web version of Compass (like at www.compassmeet.com), no web app to +If you want the webview to load from the deployed web version of Compass (like at compassmeet.com), no web app to run. --- diff --git a/backend/api/src/create-profile.ts b/backend/api/src/create-profile.ts index c066706d..28ceab84 100644 --- a/backend/api/src/create-profile.ts +++ b/backend/api/src/create-profile.ts @@ -54,7 +54,7 @@ export const createProfile: APIHandler<'create-profile'> = async (body, auth) => // So we can sse their full profile as soon as we get the notif on discord. And that allows OG to pull their pic for the link preview. // Regardless, you need to wait for at least 5 seconds that the profile is fully in the db—otherwise ISR may cache "profile not created yet" await sleep(10 * MINUTE_MS) - let message: string = `[**${user.name}**](https://www.compassmeet.com/${user.username}) just created a profile` + let message: string = `[**${user.name}**](https://compassmeet.com/${user.username}) just created a profile` if (body.bio) { const bioText = jsonToMarkdown(body.bio) if (bioText) message += `\n${bioText}` diff --git a/backend/api/src/report.ts b/backend/api/src/report.ts index 3ce65a4c..d3afd1d7 100644 --- a/backend/api/src/report.ts +++ b/backend/api/src/report.ts @@ -50,8 +50,8 @@ export const report: APIHandler<'report'> = async (body, auth) => { 🚨 **New Report** 🚨 **Type:** ${contentType} **Content ID:** ${contentId} - **Reporter:** ${reporter?.name} ([@${reporter?.username}](https://www.${DOMAIN}/${reporter?.username})) - **Reported:** ${reported?.name} ([@${reported?.username}](https://www.${DOMAIN}/${reported?.username})) + **Reporter:** ${reporter?.name} ([@${reporter?.username}](https://${DOMAIN}/${reporter?.username})) + **Reported:** ${reported?.name} ([@${reported?.username}](https://${DOMAIN}/${reported?.username})) ` await sendDiscordMessage(message, 'reports') } catch (e) { diff --git a/common/src/hosting/constants.ts b/common/src/hosting/constants.ts index 004f48e3..05b5a06b 100644 --- a/common/src/hosting/constants.ts +++ b/common/src/hosting/constants.ts @@ -24,6 +24,6 @@ if (IS_LOCAL && !process.env.ENVIRONMENT && !process.env.NEXT_PUBLIC_FIREBASE_EN export const SENTRY_DSN = 'https://4e5d3b0aa566e8aaae97298398a1ad37@o4510975610060800.ingest.de.sentry.io/4510975611699280' -export const PNG_FAVICON = 'https://www.compassmeet.com/icons/icon-192x192.png' +export const PNG_FAVICON = 'https://compassmeet.com/icons/icon-192x192.png' // console.log('IS_LOCAL_ANDROID', IS_LOCAL_ANDROID) diff --git a/web/components/FavIcon.tsx b/web/components/FavIcon.tsx index 10e3f6bf..89329cd0 100644 --- a/web/components/FavIcon.tsx +++ b/web/components/FavIcon.tsx @@ -4,7 +4,7 @@ type FavIconProps = { const FavIconBlack = ({className}: FavIconProps) => ( Compass logo diff --git a/web/next.config.ts b/web/next.config.ts index dc043e51..99bfbb94 100644 --- a/web/next.config.ts +++ b/web/next.config.ts @@ -112,12 +112,12 @@ const nextConfig: NextConfig = { }, async redirects() { return [ - { - source: '/((?!\\.well-known/assetlinks\\.json).*)', - has: [{type: 'host', value: 'compassmeet.com'}], - destination: 'https://www.compassmeet.com/:path*', - permanent: true, - }, + // { + // source: '/((?!\\.well-known/assetlinks\\.json).*)', + // has: [{type: 'host', value: 'compassmeet.com'}], + // destination: 'https://www.compassmeet.com/:path*', + // permanent: true, + // }, {source: '/discord', destination: 'https://discord.gg/8Vd7jzqjun', permanent: false}, {source: '/patreon', destination: 'https://patreon.com/CompassMeet', permanent: false}, { diff --git a/web/pages/api/proxy-data.ts b/web/pages/api/proxy-data.ts index cdeb7721..dd97b5fe 100644 --- a/web/pages/api/proxy-data.ts +++ b/web/pages/api/proxy-data.ts @@ -1,6 +1,6 @@ export default async function handler(req: any, res: any) { const {path} = req.query // e.g. "v4FoTtuyX_XwjC3aS2_Y6/Martin.json" - const upstreamUrl = `https://www.compassmeet.com/_next/data/${path}` + const upstreamUrl = `https://compassmeet.com/_next/data/${path}` const upstream = await fetch(upstreamUrl) const body = await upstream.text()