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:
silvestre-abruzzo 2016-12-05 10:50:23 +01:00 committed by Torkel Ödegaard
parent 4a2a935c8f
commit 48a14cb4c6

View File

@ -22,7 +22,7 @@
phantom.addCookie({
'name': 'renderKey',
'value': params.renderKey,
'domain': 'localhost',
'domain': params.domain,
});
page.viewportSize = {