Commit d7bfb727 by Torkel Ödegaard

fix(settings): reverted prev settings fix for detecting public_gen folder in…

fix(settings): reverted prev settings fix for detecting public_gen folder in dev, caused issue for prod build
parent 37ad58c6
...@@ -363,6 +363,10 @@ func validateStaticRootPath() error { ...@@ -363,6 +363,10 @@ func validateStaticRootPath() error {
return nil return nil
} }
if _, err := os.Stat(StaticRootPath + "css"); err == nil {
return nil
}
if _, err := os.Stat(StaticRootPath + "_gen/css"); err == nil { if _, err := os.Stat(StaticRootPath + "_gen/css"); err == nil {
StaticRootPath = StaticRootPath + "_gen" StaticRootPath = StaticRootPath + "_gen"
return nil 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