mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 16:57:14 -06:00
fix(settings): reverted prev settings fix for detecting public_gen folder in dev, caused issue for prod build
This commit is contained in:
parent
37ad58c69e
commit
d7bfb727b0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user