web-manager 3.2.74 → 3.2.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1295,7 +1295,7 @@ function refreshNewVersion(self) {
|
|
1295
1295
|
}
|
1296
1296
|
|
1297
1297
|
// Make request to get the build time (live)
|
1298
|
-
fetch('/build.json?cb=' + new Date().getTime())
|
1298
|
+
fetch('/@output/build/build.json?cb=' + new Date().getTime())
|
1299
1299
|
.then(function (res) {
|
1300
1300
|
if (res.ok) {
|
1301
1301
|
return res.json();
|
@@ -1305,7 +1305,7 @@ function refreshNewVersion(self) {
|
|
1305
1305
|
})
|
1306
1306
|
.then(function (data) {
|
1307
1307
|
var buildTimeCurrent = self.properties.global.buildTime;
|
1308
|
-
var buildTimeLive = new Date(data.timestamp);
|
1308
|
+
var buildTimeLive = new Date(data['npm-build'].timestamp);
|
1309
1309
|
|
1310
1310
|
// Set buildTimeCurrent to 1 hour ahead to account for the npm-build time which will ALWAYS be set to later since it happens later
|
1311
1311
|
buildTimeCurrent.setHours(buildTimeCurrent.getHours() + 1);
|
package/package.json
CHANGED