We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24da32b commit f63f8d9Copy full SHA for f63f8d9
apps/sim/next.config.ts
@@ -324,20 +324,17 @@ const nextConfig: NextConfig = {
324
)
325
}
326
327
+ // Beluga campaign short link tracking
328
+ if (isHosted) {
329
+ redirects.push({
330
+ source: '/r/:shortCode',
331
+ destination: 'https://go.trybeluga.ai/:shortCode',
332
+ permanent: false,
333
+ })
334
+ }
335
+
336
return redirects
337
},
- async rewrites() {
- return [
- ...(isHosted
- ? [
- {
- source: '/r/:shortCode',
- destination: 'https://go.trybeluga.ai/:shortCode',
- },
- ]
338
- : []),
339
340
341
342
343
export default nextConfig
0 commit comments