Benchanything's picture
Add 300 CheckerBench tasks, dataset card, and restoration tools (part 2)
62cfde8 verified
Raw History Blame Contribute Delete
650 Bytes
diff --git a/src/main/frontend/index.ts b/src/main/frontend/index.ts
index 8637f25..7230239 100644
--- a/src/main/frontend/index.ts
+++ b/src/main/frontend/index.ts
@@ -10,5 +10,9 @@ document.addEventListener('DOMContentLoaded', (_) => {
.replace('configureSecurity/', '')
.replace('configure', '');
- Providers.globalProvider = new ProxyProvider(`${endStrippedCurrentUrl}/GraphProxy`);
+ Providers.globalProvider = new ProxyProvider(`${endStrippedCurrentUrl}/GraphProxy`, async () => {
+ return {
+ [document.head.dataset.crumbHeader as string]: document.head.dataset.crumbValue,
+ };
+ });
})