Bug 1571636 - Make the build resources list file contain the full relative path to all resource files. r=nalexander

Rather than imply they should all be in the resources subdirectory.

Differential Revision: https://phabricator.services.mozilla.com/D40779

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-08-06 21:20:29 +00:00
parent f031ffbf76
commit 2557f65a18
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class HTTPHandler(BaseHTTPServer.BaseHTTPRequestHandler):
self.end_headers()
keys = sorted(s.json_files.keys())
json.dump({'files': keys}, self.wfile)
json.dump({'files': ['resources/%s' % k for k in keys]}, self.wfile)
return
if p.startswith('/resources/'):

View File

@ -220,7 +220,7 @@ function updateResourcesGraph() {
}
function renderKey(key) {
d3.json("/resources/" + key, function onResource(error, response) {
d3.json(key, function onResource(error, response) {
if (error) {
alert("Data not available. Is the server still running?");
return;