nic-chen commented on issue #1456:
URL: 
https://github.com/apache/apisix-dashboard/issues/1456#issuecomment-779801616


   @liuyang211 
   
   The detailed steps are as follows:
   
   1. Configure the prefix in yaml:
   
https://github.com/apache/apisix-dashboard/blob/master/api/conf/conf.yaml#L24-L31
   
   2. Read configuration
   
https://github.com/apache/apisix-dashboard/blob/master/api/internal/conf/conf.go#L135-L158
   
https://github.com/apache/apisix-dashboard/blob/master/api/internal/conf/conf.go#L222-L234
   
   3. Use configuration
   `BasePath: "/apisix/consumers"`, `BasePath: "/apisix/routes"` is the prefix 
of various resources
   
https://github.com/apache/apisix-dashboard/blob/master/api/internal/core/store/storehub.go#L83-L181
   
   
   you could have a try : )
   


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


Reply via email to