AllenLi1990 commented on issue #381:
URL: 
https://github.com/apache/apisix-dashboard/issues/381#issuecomment-676094697


   > this is fixed in #383 
   `wget 
https://raw.githubusercontent.com/apache/apisix/master/conf/config-default.yaml
   
   if [[ "$unamestr" == 'Darwin' ]]; then
      sed -i '' -e ':a' -e 'N' -e '$!ba' -e "s/allow_admin[a-z: #\/._]*\n\( *- 
[0-9a-zA-Z: #\/._',]*\n*\)*//g" config.yaml
      sed -i '' -e "s%http://[0-9.]*:2379%`echo $etcd_url`%g" config.yaml
   else
        sed -i -e ':a' -e 'N' -e '$!ba' -e "s/allow_admin[a-z: #\/._]*\n\( *- 
[0-9a-zA-Z: #\/._',]*\n*\)*//g" config.yaml
        sed -i -e "s%http://[0-9.]*:2379%`echo $etcd_url`%g" config.yaml
   fi`
   
   need add one line
   `mv config-default.yaml config.yaml`
   
   


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