From e395cfeb6491ea53022d83d220c7d68b9e3fe182 Mon Sep 17 00:00:00 2001 From: David Tsay Date: Mon, 30 Sep 2024 12:38:56 -0700 Subject: [PATCH] revert aborting request for size=1 temporarily enable eval-source-maps --- .webpack/webpack.prod.mjs | 2 +- src/plugins/remoteClock/requestInterceptor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.webpack/webpack.prod.mjs b/.webpack/webpack.prod.mjs index f0656b67e0..0b2e792151 100644 --- a/.webpack/webpack.prod.mjs +++ b/.webpack/webpack.prod.mjs @@ -15,5 +15,5 @@ export default merge(common, { __OPENMCT_ROOT_RELATIVE__: '""' }) ], - devtool: 'source-map' + devtool: 'eval-source-map' }); diff --git a/src/plugins/remoteClock/requestInterceptor.js b/src/plugins/remoteClock/requestInterceptor.js index e831142642..a65571e0e1 100644 --- a/src/plugins/remoteClock/requestInterceptor.js +++ b/src/plugins/remoteClock/requestInterceptor.js @@ -44,7 +44,7 @@ function remoteClockRequestInterceptor(openmct, _remoteClockIdentifier, waitForB /** @type {import("../../api/time/TimeContext").default} */ const { activeClock } = openmct.time; - return request?.size !== 1 && activeClock?.key === 'remote-clock' && !remoteClockLoaded; + return activeClock?.key === 'remote-clock' && !remoteClockLoaded; }, /** * Invokes the interceptor to modify the request.