We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ebe753 commit ad0d0edCopy full SHA for ad0d0ed
1 file changed
apps/sim/next.config.ts
@@ -326,6 +326,18 @@ const nextConfig: NextConfig = {
326
327
return redirects
328
},
329
+ async rewrites() {
330
+ return [
331
+ ...(isHosted
332
+ ? [
333
+ {
334
+ source: '/r/:shortCode',
335
+ destination: 'https://go.trybeluga.ai/:shortCode',
336
+ },
337
+ ]
338
+ : []),
339
340
341
}
342
343
export default nextConfig
0 commit comments