fix(settings): reverted prev settings fix for detecting public_gen folder in dev, caused issue for prod build

This commit is contained in:
Torkel Ödegaard 2015-09-14 13:42:23 +02:00
parent 37ad58c69e
commit d7bfb727b0

View File

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