mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(web): remove pwa support (#1078)
This commit is contained in:
@@ -106,11 +106,6 @@ const withDebugLocal = require('next-debug-local')(
|
||||
}
|
||||
);
|
||||
|
||||
const withPWA = require('next-pwa')({
|
||||
dest: 'public',
|
||||
scope: '/_next',
|
||||
disable: process.env.NODE_ENV !== 'production',
|
||||
});
|
||||
const detectFirebaseConfig = () => {
|
||||
if (!process.env.NEXT_PUBLIC_FIREBASE_API_KEY) {
|
||||
printer.warn('NEXT_PUBLIC_FIREBASE_API_KEY not found, please check it');
|
||||
@@ -120,4 +115,4 @@ const detectFirebaseConfig = () => {
|
||||
};
|
||||
detectFirebaseConfig();
|
||||
|
||||
module.exports = withDebugLocal(withPWA(nextConfig));
|
||||
module.exports = withDebugLocal(nextConfig);
|
||||
|
||||
Reference in New Issue
Block a user