diff --git a/apps/sim/next.config.ts b/apps/sim/next.config.ts index 0a9ed16cd..828f95a5d 100644 --- a/apps/sim/next.config.ts +++ b/apps/sim/next.config.ts @@ -326,6 +326,18 @@ const nextConfig: NextConfig = { return redirects }, + async rewrites() { + return [ + ...(isHosted + ? [ + { + source: '/r/:shortCode', + destination: 'https://go.trybeluga.ai/:shortCode', + }, + ] + : []), + ] + }, } export default nextConfig