Use correct domain in render.js (#6813)
Phantomjs is always rendering login page because domain is not considered. According to http://phantomjs.org/api/webpage/method/add-cookie.html a correct domain must be passed. Probably this change is now necessary due to https://github.com/grafana/grafana/issues/6660
This commit is contained in:
committed by
Torkel Ödegaard
parent
4a2a935c8f
commit
48a14cb4c6
Vendored
+1
-1
@@ -22,7 +22,7 @@
|
||||
phantom.addCookie({
|
||||
'name': 'renderKey',
|
||||
'value': params.renderKey,
|
||||
'domain': 'localhost',
|
||||
'domain': params.domain,
|
||||
});
|
||||
|
||||
page.viewportSize = {
|
||||
|
||||
Reference in New Issue
Block a user