Closed KobeZhou closed 1 year ago
If you run into a situation where the url of a resource is dynamic, generally the RewriteFrames integration is your friend :)
If you run into a situation where the url of a resource is dynamic, generally the RewriteFrames integration is your friend :)
thanks guy, following my url, can you write a demo?
I recommend you just play around with it a bit. The name of your uploaded artifacts must match with the filename of the stackframe. In your case you probably need the iteratee
option.
Closing because stale
Environment self-hosted (https://develop.sentry.dev/self-hosted/)
Version 23.1.1
Link No response
DSN No response
Steps to Reproduce Example:config.plugin("sentryCliPlugin").use(sentryCliPlugin, [ { release: "", include: "", ignore: [], configFile: "sentry.properties", urlPrefix: "www.xx.com/1/static/js", }, ]);
my static resource is deployed by CDN, so the urlPrefix is dynamic;For example, this url of static resource is ‘http:// www.xx.com/1/static/js’ this time, and next time, the url of static resource is ‘http:// www.xx.com/2/static/js’ ;
how to handle the urlPrefix。
Expected Result I can use sourcemap correctly in sentry。
Actual Result I do not konw how to do。