mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-28 08:49:42 +02:00
Feat: Enable Poshog and Sentry for OSS (#23)
feat: enable posthog and sentry for oss
This commit is contained in:
parent
8e2e5c9327
commit
90f7aac8ad
6 changed files with 118 additions and 59 deletions
|
|
@ -9,9 +9,9 @@ const nextConfig: NextConfig = {
|
|||
},
|
||||
async rewrites() {
|
||||
return [
|
||||
// API proxy for backend calls
|
||||
// API proxy for backend calls (excluding Next.js API routes)
|
||||
{
|
||||
source: "/api/:path*",
|
||||
source: "/api/:path((?!config|auth).*)*",
|
||||
destination: `${process.env.BACKEND_URL || 'http://localhost:8000'}/api/:path*`,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue