mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 09:59:41 +05:00
refactor: change Image Optimization to custom url
This commit is contained in:
parent
61e8b74d11
commit
ff11a90a5e
11 changed files with 100 additions and 28 deletions
|
@ -2,4 +2,15 @@ const { withPlausibleProxy } = require("next-plausible");
|
|||
|
||||
module.exports = withPlausibleProxy({
|
||||
customDomain: "https://analytics.wah.su",
|
||||
})({});
|
||||
})({
|
||||
images: {
|
||||
loader: 'custom',
|
||||
loaderFile: './imageLoader.ts',
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: "https",
|
||||
hostname: "anixstatic.com",
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue