Procházet zdrojové kódy

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

Torkel Ödegaard před 10 roky
rodič
revize
d17f8538b2
1 změnil soubory, kde provedl 0 přidání a 4 odebrání
  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