vogievetsky commented on a change in pull request #10408:
URL: https://github.com/apache/druid/pull/10408#discussion_r493926587



##########
File path: web-console/src/singletons/api.ts
##########
@@ -18,4 +18,9 @@
 
 import axios from 'axios';
 
-export const Api = axios.create();
+function initialize() {

Review comment:
       I meant that instead of setting `axios.defaults` (above) you can pass 
the instance cnfiguration to the initialize method. So the initialize method 
would take `{ baseURL, headers }` etc as an argument. 




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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to