Updated
Some checks failed
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Has been cancelled

This commit is contained in:
2025-05-22 20:15:01 -04:00
parent e9e0d30c7a
commit b0d4f3f890
2 changed files with 25 additions and 3 deletions

View File

@@ -41,9 +41,8 @@ func (g *Generator) GenerateUrl(file string, params []string, format Format) (st
if params == nil || len(params) == 0 || params[0] == "" {
params = []string{"raw:1"}
} else {
params = append(params, "sm:1")
}
params = append(params, "sm:1")
if PathPrefix != "" {
file = PathPrefix + file