flockstr/next.config.js

26 lines
478 B
JavaScript
Raw Normal View History

2023-10-13 08:39:50 -04:00
/** @type {import('next').NextConfig} */
2023-10-13 09:23:11 -04:00
const nextConfig = {
2023-11-01 12:10:52 -04:00
experimental: {
serverActions: true,
swcPlugins: ["next-superjson-plugin"],
},
2023-10-14 12:09:44 -04:00
async rewrites() {
return [
{
source: "/.well-known/nostr.json",
2023-10-25 08:22:16 -04:00
destination: "/api/well-known/nostr",
2023-10-14 12:09:44 -04:00
},
];
},
images: {
2023-10-24 14:58:43 -04:00
domains: [
"t2.gstatic.com",
"www.google.com",
"whop.com",
"flockstr.s3.amazonaws.com",
],
2023-10-14 12:09:44 -04:00
},
};
module.exports = nextConfig;