Files
hatchet/frontend/docs/next.config.js
abelanger5 7cf506a026 docs(blog): multi-tenant queues and fairness (#378)
* docs: concurrency blog

* blog: multi-tenant queues and fairness
2024-04-13 09:28:30 -04:00

27 lines
632 B
JavaScript

const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
})
/** @type {import('next').NextConfig} */
const nextConfig = {
...withNextra(),
transpilePackages: ["react-tweet"],
async redirects() {
return [
{
source: '/:path((?!home|sdk|contributing|self-hosting|launches|blog|favicon\\.ico|hatchet_logo\\.png).*)',
destination: '/home/:path*',
permanent: true,
},
{
source: "/ingest/:path*",
destination: "https://app.posthog.com/:path*",
permanent: true,
},
];
},
}
module.exports = nextConfig