Skip to content

[fix mistakes] add baseurl & default_etcd options#38

Open
hxsf wants to merge 2 commits intoevildecay:masterfrom
hxsf:master
Open

[fix mistakes] add baseurl & default_etcd options#38
hxsf wants to merge 2 commits intoevildecay:masterfrom
hxsf:master

Conversation

@hxsf
Copy link

@hxsf hxsf commented Mar 17, 2020

arg: baseurl

make this app can deploy into a subpath, such as example.com/tools/etcdkeeper

arg: default_etcd

if the app is used to connect etcd in other host, auto connect to 127.0.0.1:2379 will be timeout.

feature: add /vars.js api to send config to frontend by js.

so it will not use ajax to get config.

feature: connect will be async

I make connect async, so it will not hangup the browser. and -default_etcd="" args will make it not auto connect any etcd server.

@daydaygo
Copy link

@hxsf please fix the conflict

PR is awesome 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants