2024-07-21 14:12:19 -05:00
|
|
|
const removeImports = require("next-remove-imports")();
|
|
|
|
|
|
|
|
module.exports = removeImports({
|
|
|
|
reactStrictMode: true,
|
2023-12-23 20:33:25 -06:00
|
|
|
images: {
|
2024-09-30 15:54:47 -05:00
|
|
|
domains: ['localhost', 'secure.gravatar.com', 'plebdevs-three.vercel.app'],
|
2023-12-23 20:33:25 -06:00
|
|
|
},
|
2024-07-21 14:12:19 -05:00
|
|
|
webpack(config, options) {
|
|
|
|
return config;
|
|
|
|
},
|
2024-09-01 12:40:25 -05:00
|
|
|
async rewrites() {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: '/api/cron',
|
|
|
|
destination: '/api/cron',
|
|
|
|
},
|
2024-09-16 17:13:23 -05:00
|
|
|
{
|
|
|
|
source: "/.well-known/nostr.json",
|
|
|
|
destination: "/api/nip05",
|
2024-09-18 14:59:04 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
source: '/.well-known/lnurlp/:slug',
|
|
|
|
destination: '/api/lightning-address/lnurlp/:slug',
|
2024-09-16 17:13:23 -05:00
|
|
|
}
|
2024-09-01 12:40:25 -05:00
|
|
|
];
|
|
|
|
},
|
2024-07-21 14:12:19 -05:00
|
|
|
});
|