We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4e5060 commit 4eda1ecCopy full SHA for 4eda1ec
apps/sim/next.config.ts
@@ -306,15 +306,16 @@ const nextConfig: NextConfig = {
306
}
307
)
308
309
- // Beluga campaign short link tracking (always registered — harmless for self-hosted)
310
- redirects.push({
311
- source: '/r/:shortCode',
312
- destination: 'https://go.trybeluga.ai/:shortCode',
313
- permanent: false,
314
- })
315
-
316
return redirects
317
},
+ async rewrites() {
+ return [
+ {
+ source: '/r/:shortCode',
+ destination: 'https://go.trybeluga.ai/:shortCode',
+ },
+ ]
318
319
320
321
export default nextConfig
0 commit comments