suno-api/next.config.mjs
gohoski 7da7ac6ae2 Implement hCaptcha solving via 2Captcha & other stuff
- implement hCaptcha solving via paid service 2Captcha and browser automation library Playwright with rebrowser-patches

- implement sunoApi instances caching so sessions won't be constantly updated

- add support for entering cookies not only in SUNO_COOKIE, but also the Cookie HTTP header

- update docs and add Russian docs
2025-01-06 05:25:08 +03:00

16 lines
369 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
config.module.rules.push({
test: /\.(ttf|html)$/i,
type: 'asset/resource'
});
return config;
},
experimental: {
serverMinification: false, // the server minification unfortunately breaks the selector class names
},
};
export default nextConfig;