gatus/controller/spa.go
2021-02-24 22:41:36 -05:00

9 lines
208 B
Go

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