|
|
@@ -2,6 +2,14 @@ import type { NextConfig } from "next";
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
|
|
output: "standalone",
|
|
|
+ async rewrites() {
|
|
|
+ return [
|
|
|
+ {
|
|
|
+ source: "/installHook.js.map", // the request that raises 404
|
|
|
+ destination: "/404", // serve a silent 404 response
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ },
|
|
|
};
|
|
|
|
|
|
export default nextConfig;
|