Compare commits

...

1 Commits

Author SHA1 Message Date
Matti Nannt
66fd5a5d85 feat: add hub docs rewrites 2026-02-17 17:03:37 +01:00

View File

@@ -405,6 +405,14 @@ const nextConfig = {
},
async rewrites() {
return [
{
source: "/hub",
destination: "https://hub.stldocs.app",
},
{
source: "/hub/:path*",
destination: "https://hub.stldocs.app/:path*",
},
{
source: "/api/packages/website",
destination: "/js/formbricks.umd.cjs",
@@ -482,5 +490,4 @@ const sentryOptions = {
// Runtime Sentry reporting still depends on DSN being set via environment variables
const exportConfig = process.env.SENTRY_AUTH_TOKEN ? withSentryConfig(nextConfig, sentryOptions) : nextConfig;
export default exportConfig;