From 49087d858e4d7c7d6166bd8b53895b618ac1da2f Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 14 Jun 2022 14:07:23 -0600 Subject: [PATCH] Fixes hot-reload for dev --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 5e40353edf..62b15643fa 100644 --- a/next.config.js +++ b/next.config.js @@ -10,7 +10,7 @@ const withTM = require("next-transpile-modules")([ module.exports = withTM({ async rewrites() { return { - beforeFiles: [ + afterFiles: [ // This redirects requests recieved at / the root to the /api/ folder. { source: "/v:version/:rest*",