Eliminate MM_SERVER_PATH (#24968)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
daf84488cc
Коммит
630bd40141
@@ -322,7 +322,7 @@ func NewServer(options ...Option) (*Server, error) {
|
||||
|
||||
templatesDir, ok := templates.GetTemplateDirectory()
|
||||
if !ok {
|
||||
return nil, errors.New("Failed find server templates in \"templates\" directory or MM_SERVER_PATH")
|
||||
return nil, errors.New("Failed find server templates in \"templates\" directory")
|
||||
}
|
||||
htmlTemplateWatcher, errorsChan, err2 := templates.NewWithWatcher(templatesDir)
|
||||
if err2 != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user