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