1 Commits

Author SHA1 Message Date
idk
471c01455f git compatibility read only 2019-10-14 01:02:27 -04:00
2 changed files with 2 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ echo:
USER_GH=eyedeekay
packagename=eephttpd
VERSION=0.0.96
VERSION=0.0.97
tag:
gothub release -s $(GITHUB_TOKEN) -u $(USER_GH) -r $(packagename) -t v$(VERSION) -d "I2P Tunnel Management tool for Go applications"

View File

@@ -15,6 +15,7 @@ import (
func (f *EepHttpd) ServeHTTP(rw http.ResponseWriter, rq *http.Request) {
rp := f.checkURL(rq)
if strings.HasPrefix(rq.Header.Get("User-Agent"), "git") {
log.Println(rq.Header.Get("User-Agent"))
f.HandleFile(rw, rq)
return
}