feat: enhance Next.js configuration with rewrites for public directory fix: adjust audio file path in AudioPlayer component to include public directory
23 lines
375 B
TypeScript
23 lines
375 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
experimental: {
|
|
serverActions: {
|
|
},
|
|
},
|
|
output: "standalone",
|
|
async rewrites() {
|
|
return {
|
|
beforeFiles: [
|
|
{
|
|
source: '/public/:path*',
|
|
destination: '/:path*',
|
|
},
|
|
],
|
|
};
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|