mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-14 13:44:37 +08:00
12 lines
245 B
Go
12 lines
245 B
Go
|
package controller
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
"github.com/gorilla/mux"
|
||
|
)
|
||
|
|
||
|
|
||
|
func fileHandlers(r *mux.Router) {
|
||
|
r.PathPrefix("/meshclient/files").Handler(http.StripPrefix("/meshclient/files", http.FileServer(http.Dir("./meshclient/files"))))
|
||
|
}
|