First pass with API
This commit is contained in:
@ -35,6 +35,9 @@ func (ctx *RootHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
case "/favicon.ico":
|
||||
ctx.favi.ServeHTTP(w, r)
|
||||
|
||||
case "/api/url":
|
||||
ctx.ServeAPI(w, r)
|
||||
|
||||
default:
|
||||
fmt.Printf("Path: %s\n", fname)
|
||||
}
|
||||
|
Reference in New Issue
Block a user