Commit d17f8538 by Torkel Ödegaard

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

parent 1900c81d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment