diff --git a/app/soapbox/main.tsx b/app/soapbox/main.tsx index bfc31649e..f5cf9f0f5 100644 --- a/app/soapbox/main.tsx +++ b/app/soapbox/main.tsx @@ -41,9 +41,9 @@ ready(() => { root.render(); - // if (BuildConfig.NODE_ENV === 'production') { - // avoid offline in dev mode because it's harder to debug - // https://github.com/NekR/offline-plugin/pull/201#issuecomment-285133572 - OfflinePluginRuntime.install(); - // } + if (BuildConfig.NODE_ENV === 'production') { + // avoid offline in dev mode because it's harder to debug + // https://github.com/NekR/offline-plugin/pull/201#issuecomment-285133572 + OfflinePluginRuntime.install(); + } }); \ No newline at end of file