Skip to content

Commit 451a72a

Browse files
fix resource request
1 parent 54fbb9f commit 451a72a

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

nebula/frontend/static/images/site.webmanifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"short_name": "NEBULA",
44
"icons": [
55
{
6-
"src": "/nebula/static/images/android-chrome-192x192.png",
6+
"src": "/platform/static/images/android-chrome-192x192.png",
77
"sizes": "192x192",
88
"type": "image/png"
99
},
1010
{
11-
"src": "/nebula/static/images/android-chrome-512x512.png",
11+
"src": "/platform/static/images/android-chrome-512x512.png",
1212
"sizes": "512x512",
1313
"type": "image/png"
1414
}

nebula/frontend/static/js/deployment/scenario.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ const ScenarioManager = (function() {
1919
updateScenariosPosition(true);
2020
}
2121

22-
// Don't call initializeScenarios immediately
23-
// It will be called after all modules are initialized
24-
2522
function collectScenarioData() {
2623
const topologyData = window.TopologyManager.getData();
2724
const nodes = {};

nebula/frontend/static/js/deployment/ui-controls.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const UIControls = (function() {
138138

139139
const imageName = imageMap[partitionSelect.value];
140140
if (imageName) {
141-
methodtipImage.src = `/static/images/${imageName}`;
141+
methodtipImage.src = `/platform/static/images/${imageName}`;
142142
methodtipImage.style.display = "block";
143143
}
144144
});
@@ -444,7 +444,7 @@ const UIControls = (function() {
444444
const participantImg = document.createElement("img");
445445
participantImg.id = `participant-img-${index}`;
446446
participantImg.setAttribute("data-id", index.toString());
447-
participantImg.src = "/static/images/device.png";
447+
participantImg.src = "/platform/static/images/device.png";
448448
participantImg.width = 50;
449449
participantImg.height = 50;
450450
participantImg.style.marginRight = "10px";

0 commit comments

Comments
 (0)