-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
static file server #2218
static file server #2218
Conversation
waiting on #2220 |
faffaf2
to
5d33988
Compare
5d33988
to
886c075
Compare
886c075
to
cb0c3f3
Compare
hmm liking the look of this |
cb0c3f3
to
c852a40
Compare
Tested and this seems to work. Ready to merge? |
thanks for checking. let me remove all these per-request printfs actually. |
cbb8c46
to
74d24ff
Compare
74d24ff
to
b295100
Compare
If you're interested in checking on a specific platform: (start zerotier-one) cd $ZT_HOME
sudo mkdir app/hello
echo "hello" | sudo tee app/hello/index.html
curl -L localhost:9993/app/hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and still seems to work
7a58da3
to
fe39db9
Compare
LGTM too here. I'm interested to know what the original & intended use case for this. Some comments, for docs:
|
Thanks for testing it out! More news and info Coming Soon |
this lets you host web apps out of :9993/app/{app_name} :9993/app/{other_app} from $ZT_HOME/app/{app_name}
63afe7b
to
b4eb39f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
this lets you host web apps out of
:9993/app/{app_name}
:9993/app/{other_app}
etc
from $ZT_HOME/app/{app_name}