mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
🐛 fix: fix import
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
const API_END_PORT_URL = process.env.API_END_PORT_URL || '';
|
||||
import nextPWA from 'next-pwa';
|
||||
|
||||
const withPWA = require('next-pwa')({
|
||||
const withPWA = nextPWA({
|
||||
dest: 'public',
|
||||
register: true,
|
||||
skipWaiting: true,
|
||||
disable: process.env.NODE_ENV === 'development',
|
||||
});
|
||||
|
||||
const API_END_PORT_URL = process.env.API_END_PORT_URL || '';
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
|
||||
Reference in New Issue
Block a user