1
0
mirror of https://github.com/TwiN/gatus.git synced 2025-01-12 08:58:34 +01:00
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")
}