mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
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:
parent
f031ffbf76
commit
2557f65a18
@ -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/'):
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user