From 56ab2bb0125bef4bcd2ca3538a4d4d7525f93334 Mon Sep 17 00:00:00 2001 From: Nikhil Rao Date: Fri, 11 Aug 2023 13:55:59 -0700 Subject: [PATCH] Add trailing slash for paths (#1517) --- reflex/.templates/web/next.config.js | 1 + reflex/reflex.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/.templates/web/next.config.js b/reflex/.templates/web/next.config.js index 1954c92f0..dd7a7908a 100644 --- a/reflex/.templates/web/next.config.js +++ b/reflex/.templates/web/next.config.js @@ -1,4 +1,5 @@ module.exports = { reactStrictMode: true, compress: true, + trailingSlash: true, }; diff --git a/reflex/reflex.py b/reflex/reflex.py index 067eff42c..970320650 100644 --- a/reflex/reflex.py +++ b/reflex/reflex.py @@ -199,7 +199,6 @@ def deploy( return # Compile the app in production mode. - console.info("Compiling production app") export(loglevel=loglevel) # Exit early if this is a dry run.