Skip to content

Commit

Permalink
Issue #PS-2733: feat - Telemetry Service Integration
Browse files Browse the repository at this point in the history
  • Loading branch information
rajnishdargan committed Dec 10, 2024
1 parent ab768ab commit 353d344
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ const nextConfig = {
source: "/action/v1/telemetry",
destination: `${process.env.NEXT_PUBLIC_TELEMETRY_URL}/v1/telemetry`,
},
{
source: "/action/data/v3/telemetry",
destination: `${process.env.NEXT_PUBLIC_TELEMETRY_URL}/v1/telemetry`,
},
{
source: "/data/v3/telemetry",
destination: `${process.env.NEXT_PUBLIC_TELEMETRY_URL}/v1/telemetry`,
},
{
source: "/action/content/:path*", // Match other /action/asset routes
destination: `${process.env.WORKSPACE_BASE_URL}/api/proxy?path=/action/content/:path*`, // Forward other /action/asset requests to proxy.js
Expand Down

0 comments on commit 353d344

Please sign in to comment.