Unverified Commit f3f7c7c0 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Update upload trace url (#93350)

## What?

Updates the trace upload url as it has been moved.

Since this subcommand is only available on canary currently the previous
API url will not be preserved.
parent ea541987
import path from 'path' import path from 'path'
import fs from 'fs/promises' import fs from 'fs/promises'
const UPLOAD_TRACE_URL = 'https://api.nextjs.org/api/upload-trace' const UPLOAD_TRACE_URL = 'https://nextjs.org/api/upload-trace'
// V8 CPU profiles are JSON objects starting with {"nodes": // V8 CPU profiles are JSON objects starting with {"nodes":
const CPUPROFILE_HEADER = Buffer.from('{"nodes":') const CPUPROFILE_HEADER = Buffer.from('{"nodes":')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment