Samad14's picture
feat: molecular docking (AutoDock Vina) + docs site + Sentry + cache stats + Phase 2 docs update
fb8c550
Raw History Blame
445 Bytes
const { withSentryConfig } = require('@sentry/nextjs');
/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
const backendUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8000';
return [
{
source: '/api/backend/:path*',
destination: `${backendUrl}/:path*`,
},
];
},
};
module.exports = withSentryConfig(nextConfig, {
silent: true,
hideSourceMaps: true,
});