mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-01 12:23:24 +01:00
9 lines
208 B
Go
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")
|
||
|
}
|