From 220702c4569723240ea3642dd5a5569faaa3d7fe Mon Sep 17 00:00:00 2001 From: Innei Date: Thu, 30 Oct 2025 17:06:20 +0800 Subject: [PATCH] Revert "chore: update API URLs to use folo.is domain" This reverts commit ad75a1e47bbd19846acc185112364fe1827613da. Signed-off-by: Innei --- .github/workflows/lint.yml | 2 +- apps/ssr/vite.config.mts | 2 +- packages/internal/shared/src/env.common.ts | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ca30ea508..20ed03eea 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ on: # Do not use secrets or variables to allow for public access env: VITE_WEB_URL: https://app.folo.is - VITE_API_URL: https://api.folo.is + VITE_API_URL: https://api.follow.is name: ✨ CI Format, Typecheck and Lint concurrency: diff --git a/apps/ssr/vite.config.mts b/apps/ssr/vite.config.mts index d13bb9e33..ea9dc82e2 100644 --- a/apps/ssr/vite.config.mts +++ b/apps/ssr/vite.config.mts @@ -51,7 +51,7 @@ export default defineConfig({ server: { proxy: { "/api": { - target: "https://api.folo.is", + target: "https://api.follow.is", changeOrigin: true, rewrite(path) { return path.replace("/api", "") diff --git a/packages/internal/shared/src/env.common.ts b/packages/internal/shared/src/env.common.ts index 28fc72970..7615f077c 100644 --- a/packages/internal/shared/src/env.common.ts +++ b/packages/internal/shared/src/env.common.ts @@ -1,6 +1,6 @@ export const DEFAULT_VALUES = { PROD: { - API_URL: "https://api.folo.is", + API_URL: "https://api.follow.is", WEB_URL: "https://app.folo.is", INBOXES_EMAIL: "@follow.re", OPENPANEL_CLIENT_ID: "4382168f-b8d2-40c1-9a26-133a312d072b", @@ -12,13 +12,13 @@ export const DEFAULT_VALUES = { POSTHOG_HOST: "https://us.posthog.com", }, DEV: { - API_URL: "https://api.dev.folo.is", - WEB_URL: "https://dev.folo.is", + API_URL: "https://api.dev.follow.is", + WEB_URL: "https://dev.follow.is", INBOXES_EMAIL: "__dev@follow.re", }, STAGING: { - API_URL: "https://api.folo.is", - WEB_URL: "https://staging.folo.is", + API_URL: "https://api.follow.is", + WEB_URL: "https://staging.follow.is", INBOXES_EMAIL: "@follow.re", OPENPANEL_CLIENT_ID: "4382168f-b8d2-40c1-9a26-133a312d072b", OPENPANEL_API_URL: "https://openpanel.follow.is/api",