Small refactorings

This commit is contained in:
Deluan
2021-07-20 18:43:15 -04:00
parent 08840f6170
commit 7540881695
8 changed files with 13 additions and 19 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ var (
func newTranslationRepository(context.Context) rest.Repository {
dir := utils.NewMergeFS(
http.FS(resources.Assets()),
http.FS(resources.FS),
http.Dir(filepath.Join(conf.Server.DataFolder, "resources")),
)
if err := loadTranslations(dir); err != nil {