Fix Desktop thinking it's web

I forgor to test host after adding web support
This commit is contained in:
Vendicated
2022-10-04 12:57:39 +02:00
parent e35393b40c
commit 3a9f692644
6 changed files with 8 additions and 5 deletions

View File

@ -6,7 +6,6 @@ let webpackChunk: any[];
const logger = new Logger("WebpackInterceptor", "#8caaee");
console.log("prepatch is", window[WEBPACK_CHUNK]);
Object.defineProperty(window, WEBPACK_CHUNK, {
get: () => webpackChunk,
set: (v) => {