feat: apply higher priority for doc request (#4401)

This commit is contained in:
X1a0t authored and GitHub committed 2023-09-18 19:19:56 +00:00
1 parent 65bb30558e
commit feb3e64839
2 files changed
+5 -2

No files matched your search

@@ -19,7 +19,10 @@ export async function downloadBinaryFromCloud(
}
const response = await fetchWithTraceReport(
runtimeConfig.serverUrlPrefix +
`/api/workspaces/${rootGuid}/docs/${pageGuid}`
`/api/workspaces/${rootGuid}/docs/${pageGuid}`,
{
priority: 'high',
}
);
if (response.ok) {
const arrayBuffer = await response.arrayBuffer();