Explorar o código

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

Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
d17f8538b2
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  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