diff options
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 [ { |