bzp2010 commented on code in PR #3023: URL: https://github.com/apache/apisix-dashboard/pull/3023#discussion_r2079508029
########## src/config/req.ts: ########## @@ -60,6 +56,11 @@ req.interceptors.response.use( message: d.error_msg, color: 'red', }); + // Requires to enter admin key at 401 + if (err.response.status === 401) { + globalStore.settings.set('isOpen', true); + return Promise.resolve({ data: {} }); Review Comment: Seems like advice should be followed? 🤔 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org