Skip to content

Commit 95a7dae

Browse files
perf: Optimize API documentation authentication prompts
1 parent 6176eee commit 95a7dae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/public/swagger-ui-bundle.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41747,7 +41747,8 @@
4174741747
}
4174841748
if (!a.ok) {
4174941749
const s = new Error(a.statusText || `response status is ${a.status}`)
41750-
if (a.status === 401 && a.statusText === 'Unauthorized') {
41750+
// if (a.status === 401 && a.statusText === 'Unauthorized') {
41751+
if (a.status === 401) {
4175141752
location.href = location.pathname.replace('/docs', '/') + '#/401?title=unauthorized&target=docs'
4175241753
return a
4175341754
}

0 commit comments

Comments
 (0)