server/admin/static.go

10 lines
146 B
Go
Raw Normal View History

package main
import (
"net/http"
)
func StaticRouting(w http.ResponseWriter, r *http.Request) {
http.ServeFile(w, r, "./static/index.html")
}