Merge branch 'master' into feat/filesystem_and_search

This commit is contained in:
DarkSky
2022-12-26 09:06:26 +08:00
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ const nextConfig = {
},
];
},
basePath: process.env.BASE_PATH,
};
const baseDir = process.env.LOCAL_BLOCK_SUITE ?? '/';
@@ -13,6 +13,7 @@ const minimumChromeVersion = 102;
export const shouldShowWarning = () => {
return (
!window.CLIENT_APP &&
!getIsMobile() &&
(!getIsChrome() || getChromeVersion() < minimumChromeVersion)
);
+7
View File
@@ -0,0 +1,7 @@
declare global {
interface Window {
CLIENT_APP?: boolean;
}
}
export {};