feat: update docker-compose to add static file service and configure Nginx with Traefik routing

feat: enhance Next.js configuration with rewrites for public directory
fix: adjust audio file path in AudioPlayer component to include public directory
This commit is contained in:
averel10
2026-03-13 09:40:56 +01:00
parent a1ea5e95e5
commit 1debc1b36e
3 changed files with 42 additions and 2 deletions

View File

@@ -7,6 +7,16 @@ const nextConfig: NextConfig = {
},
},
output: "standalone",
async rewrites() {
return {
beforeFiles: [
{
source: '/public/:path*',
destination: '/:path*',
},
],
};
},
};
export default nextConfig;