Remove providerTemplates dir, moved in templates
This commit is contained in:
parent
1fdff9dae4
commit
5dea2e7902
11 changed files with 12 additions and 11 deletions
7
web.go
7
web.go
|
@ -9,6 +9,7 @@ import (
|
|||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/elazarl/go-bindata-assetfs"
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/unrolled/render"
|
||||
)
|
||||
|
||||
type WebProvider struct {
|
||||
|
@ -16,6 +17,12 @@ type WebProvider struct {
|
|||
CertFile, KeyFile string
|
||||
}
|
||||
|
||||
var (
|
||||
templatesRenderer = render.New(render.Options{
|
||||
Directory: "nowhere",
|
||||
})
|
||||
)
|
||||
|
||||
func (provider *WebProvider) Provide(configurationChan chan<- configMessage) error {
|
||||
systemRouter := mux.NewRouter()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue