gatus/controller/spa.go

9 lines
208 B
Go
Raw Normal View History

package controller
import "net/http"
// spaHandler handles requests for /
func spaHandler(writer http.ResponseWriter, request *http.Request) {
http.ServeFile(writer, request, staticFolder+"/index.html")
}