2
0
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:
Matthias Mair
2026-02-12 05:53:58 +01:00
committed by GitHub
parent 9fbc7ac40c
commit b11bbfb92c
9 changed files with 103 additions and 7 deletions

View File

@@ -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