started working on the backend
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
output: "export"
|
||||
/* config options here */
|
||||
// output: "export",
|
||||
rewrites: async () => ({
|
||||
beforeFiles: [],
|
||||
afterFiles: [],
|
||||
fallback: [
|
||||
{
|
||||
source: "/api/:path*",
|
||||
destination: "http://golunteer-frontend:8080/api/:path*",
|
||||
},
|
||||
],
|
||||
}),
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user