Made use of GetServiceByHost in a Stuff handler.
This commit is contained in:
parent
7a1c984750
commit
31efba3bfa
@ -35,7 +35,8 @@ func (h *Handlers) Index(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (h *Handlers) Stuff(w http.ResponseWriter, r *http.Request) {
|
func (h *Handlers) Stuff(w http.ResponseWriter, r *http.Request) {
|
||||||
web.Stuff("/ Stuff", "", "", w)
|
web.Stuff("/ Stuff", util.GetServiceByHost(r.Host, util.ServiceGit),
|
||||||
|
util.GetServiceByHost(r.Host, util.ServiceFiles), w)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *Handlers) Mindflow(w http.ResponseWriter, r *http.Request) {
|
func (h *Handlers) Mindflow(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user