starsz commented on issue #1406: URL: https://github.com/apache/apisix-dashboard/issues/1406#issuecomment-772285692
> @starsz is this the [file](https://github.com/apache/apisix-dashboard/blob/master/api/cmd/managerapi.go) in which I am supposed to make the changes? Yes, you are right. First, you should be familiar with this lib [cobra](https://github.com/spf13/cobra). And then add `-c` flag like this: https://github.com/apache/apisix-dashboard/blob/0a0a42ae1c81f21a03c98a991b707dba6b724364/api/cmd/managerapi.go#L134 to set the config path which is used in https://github.com/apache/apisix-dashboard/blob/0a0a42ae1c81f21a03c98a991b707dba6b724364/api/internal/conf/conf.go#L127. Much appreciated. ---------------------------------------------------------------- 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]
