mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-11 01:54:34 +08:00
11 lines
245 B
Go
11 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"))))
|
|
}
|