diff options
| author | Factiven <[email protected]> | 2023-09-25 00:44:40 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-25 00:44:40 +0700 |
| commit | 1a85c2571690ba592ac5183d5eadaf9846fe532b (patch) | |
| tree | 3f3552c00cd49c0eeab5275275cf5cf5666e5027 /next.config.js | |
| parent | Delete .github/workflows/deploy.yml (diff) | |
| download | moopa-4.1.0.tar.xz moopa-4.1.0.zip | |
Update v4.1.0 (#79)v4.1.0
* Update v4.1.0
* Update pages/_app.js
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/next.config.js b/next.config.js index a354717..001a365 100644 --- a/next.config.js +++ b/next.config.js @@ -11,17 +11,34 @@ const withPWA = require("next-pwa")({ module.exports = withPWA({ reactStrictMode: false, images: { - unoptimized: true, remotePatterns: [ { protocol: "https", - hostname: "s4.anilist.co", + hostname: "**.*.*", + }, + { + protocol: "https", + hostname: "**.**.*.*", + }, + { + protocol: "https", + hostname: "simkl.in", }, ], }, distDir: process.env.BUILD_DIR || ".next", // Uncomment this if you want to use Docker // output: "standalone", + async redirects() { + return [ + { + source: "/donate", + destination: "https://ko-fi.com/factiven", + permanent: false, + basePath: false, + }, + ]; + }, async headers() { return [ { |