Build swagger ui in seperate webpack build (#102046)
* Build swagger ui in seperate webpack build * render grafana and swagger * include light theme * merge main * update webassets usage --------- Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
co-authored by
Ryan McKinley
parent
6b44b38c10
commit
314e337d76
@@ -73,7 +73,7 @@ func (hs *HTTPServer) GetFrontendAssets(c *contextmodel.ReqContext) {
|
||||
|
||||
// Assets
|
||||
hash.Reset()
|
||||
dto, err := webassets.GetWebAssets(c.Req.Context(), hs.Cfg, hs.License)
|
||||
dto, err := webassets.GetWebAssets(c.Req.Context(), "build", hs.Cfg, hs.License)
|
||||
if err == nil && dto != nil {
|
||||
_, _ = hash.Write([]byte(dto.ContentDeliveryURL))
|
||||
_, _ = hash.Write([]byte(dto.Dark))
|
||||
|
||||
Reference in New Issue
Block a user