mirror of
https://github.com/inventree/InvenTree.git
synced 2026-02-13 01:38:03 +00:00
feat(frontend): Add better frontend tracing (#11244)
* add better tracing through the frontend * extend allowed headers * add endpoint to end the trace * end traces correctly in backend * end trace * early cop-out if not tracing is enabled * Update API version link for v447
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
header Allow GET,HEAD,OPTIONS
|
||||
header Access-Control-Allow-Origin *
|
||||
header Access-Control-Allow-Methods GET,HEAD,OPTIONS
|
||||
header Access-Control-Allow-Headers Authorization,Content-Type,User-Agent
|
||||
header Access-Control-Allow-Headers Authorization,Content-Type,User-Agent,traceparent
|
||||
|
||||
@cors_preflight{args[0]} method OPTIONS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user