Skip to content

Commit f41460b

Browse files
pyailletnlepage
authored andcommitted
🐛 fix assets version in module_archive.go
1 parent 8de14d4 commit f41460b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backoffice/backoffice_archive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
func initFs() (http.FileSystem, error) {
16-
url := fmt.Sprintf("https://github.com/Zenika/marcel/releases/download/%s/marcel-backoffice.tgz", version.Version())
16+
url := fmt.Sprintf("https://github.com/Zenika/marcel/releases/download/%[1]s/marcel-backoffice-%[1]s.tgz", version.Version())
1717
path := filepath.Join(config.Default().API().DataDir(), "backoffice", version.Version())
1818

1919
if err := httputil.DownloadTgzToDir(url, path); err != nil {

frontend/frontend_archive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
func initFs() (http.FileSystem, error) {
16-
url := fmt.Sprintf("https://github.com/Zenika/marcel/releases/download/%s/marcel-frontend.tgz", version.Version())
16+
url := fmt.Sprintf("https://github.com/Zenika/marcel/releases/download/%[1]s/marcel-frontend-%[1]s.tgz", version.Version())
1717
path := filepath.Join(config.Default().API().DataDir(), "frontend", version.Version())
1818

1919
if err := httputil.DownloadTgzToDir(url, path); err != nil {

0 commit comments

Comments
 (0)