fix(analytics): create actual route handler for OpenPanel track endpoint
Build and Deploy / build (push) Has been cancelled
Build and Deploy / build (push) Has been cancelled
The standalone build doesn't support rewrites - need actual route handler to proxy OpenPanel API requests.
This commit is contained in:
@@ -34,10 +34,6 @@ const nextConfig: NextConfig = {
|
||||
source: "/api/op/track",
|
||||
destination: `${openpanelUrl}/track`,
|
||||
},
|
||||
{
|
||||
source: "/api/op/track/:path*",
|
||||
destination: `${openpanelUrl}/track/:path*`,
|
||||
},
|
||||
];
|
||||
},
|
||||
images: {
|
||||
|
||||
Reference in New Issue
Block a user