3 Commits

Author SHA1 Message Date
idk
91a6049575 git compatibility read only 2019-10-14 00:57:55 -04:00
idk
2f101752fd git compatibility read only 2019-10-14 00:49:47 -04:00
idk
d4e8455e95 git compatibility read only 2019-10-14 00:47:59 -04:00
2 changed files with 2 additions and 2 deletions

View File

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

View File

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