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
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
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) => {