Преглед изворни кода

fix(backend): made public_gen detection more bullet proof, #2731

Torkel Ödegaard пре 10 година
родитељ
комит
d17f8538b2
1 измењених фајлова са 0 додато и 4 уклоњено
  1. 0 4
      pkg/setting/setting.go

+ 0 - 4
pkg/setting/setting.go

@@ -363,10 +363,6 @@ func validateStaticRootPath() error {
 		return nil
 	}
 
-	if _, err := os.Stat(path.Join(StaticRootPath, "css")); err == nil {
-		return nil
-	}
-
 	if _, err := os.Stat(StaticRootPath + "_gen/css"); err == nil {
 		StaticRootPath = StaticRootPath + "_gen"
 		return nil