mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Docs] remove .map from bundle_filepath value (#174834)
Part of https://github.com/elastic/observability-docs/issues/3354#issuecomment-1849730927 ## Summary `bundle_filepath` should not contain `.map`.
This commit is contained in:
parent
6aa5ae8949
commit
128506c652
1 changed files with 2 additions and 2 deletions
|
@ -573,7 +573,7 @@ curl -X POST "http://localhost:5601/api/apm/sourcemaps" \
|
|||
-H 'Authorization: ApiKey ${YOUR_API_KEY}' \
|
||||
-F 'service_name="foo"' \
|
||||
-F 'service_version="1.0.0"' \
|
||||
-F 'bundle_filepath="/test/e2e/general-usecase/bundle.js.map"' \
|
||||
-F 'bundle_filepath="/test/e2e/general-usecase/bundle.js"' \
|
||||
-F 'sourcemap="{\"version\":3,\"file\":\"static/js/main.chunk.js\",\"sources\":[\"fleet-source-map-client/src/index.css\",\"fleet-source-map-client/src/App.js\",\"webpack:///./src/index.css?bb0a\",\"fleet-source-map-client/src/index.js\",\"fleet-source-map-client/src/reportWebVitals.js\"],\"sourcesContent\":[\"content\"],\"mappings\":\"mapping\",\"sourceRoot\":\"\"}"' <1>
|
||||
--------------------------------------------------
|
||||
<1> Alternatively, upload the source map as a file with `-F 'sourcemap=@path/to/source_map/bundle.js.map'`
|
||||
|
@ -647,7 +647,7 @@ curl -X GET "http://localhost:5601/api/apm/sourcemaps" \
|
|||
"body": {
|
||||
"serviceName": "foo",
|
||||
"serviceVersion": "1.0.0",
|
||||
"bundleFilepath": "/test/e2e/general-usecase/bundle.js.map",
|
||||
"bundleFilepath": "/test/e2e/general-usecase/bundle.js",
|
||||
"sourceMap": {
|
||||
"version": 3,
|
||||
"file": "static/js/main.chunk.js",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue