Fixes hot-reload for dev
parent
55d8af0ae9
commit
49087d858e
|
@ -10,7 +10,7 @@ const withTM = require("next-transpile-modules")([
|
||||||
module.exports = withTM({
|
module.exports = withTM({
|
||||||
async rewrites() {
|
async rewrites() {
|
||||||
return {
|
return {
|
||||||
beforeFiles: [
|
afterFiles: [
|
||||||
// This redirects requests recieved at / the root to the /api/ folder.
|
// This redirects requests recieved at / the root to the /api/ folder.
|
||||||
{
|
{
|
||||||
source: "/v:version/:rest*",
|
source: "/v:version/:rest*",
|
||||||
|
|
Loading…
Reference in New Issue