Skip to content

Commit

Permalink
Merge pull request #416 from rajnishdargan/release-1.0.0
Browse files Browse the repository at this point in the history
Issue #PS-2733: feat - Handling Telemetry API calls from players and editors
  • Loading branch information
itsvick authored Dec 10, 2024
2 parents ab768ab + 353d344 commit 2532570
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 2532570

Please sign in to comment.