diff options
| author | Factiven <[email protected]> | 2023-04-14 00:07:02 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-04-14 00:07:02 +0700 |
| commit | 482b1c8db5cfeaa20d75ce92fcb10f3ca8433633 (patch) | |
| tree | f0c12d3acb6bd8ce43e63e01527c97a62dba7e9c /pages/next.config.js | |
| parent | Update index.js (diff) | |
| download | moopa-482b1c8db5cfeaa20d75ce92fcb10f3ca8433633.tar.xz moopa-482b1c8db5cfeaa20d75ce92fcb10f3ca8433633.zip | |
Update 5th
Diffstat (limited to 'pages/next.config.js')
| -rw-r--r-- | pages/next.config.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pages/next.config.js b/pages/next.config.js new file mode 100644 index 0000000..5858743 --- /dev/null +++ b/pages/next.config.js @@ -0,0 +1,16 @@ +/** @type {import('next').NextConfig} */ + +const withPWA = require("next-pwa")({ + dest: "public", + register: true, + disable: process.env.NODE_ENV === "development", +}); + +module.exports = withPWA({ + reactStrictMode: false, + images: { + domains: ["tenor.com"], + unoptimized: true, + }, + trailingSlash: true, +}); |