mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-09 13:15:51 +08:00
Merge branch 'master' into feat/filesystem_and_search
This commit is contained in:
@@ -33,6 +33,7 @@ const nextConfig = {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
basePath: process.env.BASE_PATH,
|
||||||
};
|
};
|
||||||
|
|
||||||
const baseDir = process.env.LOCAL_BLOCK_SUITE ?? '/';
|
const baseDir = process.env.LOCAL_BLOCK_SUITE ?? '/';
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ const minimumChromeVersion = 102;
|
|||||||
|
|
||||||
export const shouldShowWarning = () => {
|
export const shouldShowWarning = () => {
|
||||||
return (
|
return (
|
||||||
|
!window.CLIENT_APP &&
|
||||||
!getIsMobile() &&
|
!getIsMobile() &&
|
||||||
(!getIsChrome() || getChromeVersion() < minimumChromeVersion)
|
(!getIsChrome() || getChromeVersion() < minimumChromeVersion)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
declare global {
|
||||||
|
interface Window {
|
||||||
|
CLIENT_APP?: boolean;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export {};
|
||||||
Reference in New Issue
Block a user