Selaa lähdekoodia

Add trailing slash for paths (#1517)

Nikhil Rao 1 vuosi sitten
vanhempi
säilyke
56ab2bb012
2 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 0
      reflex/.templates/web/next.config.js
  2. 0 1
      reflex/reflex.py

+ 1 - 0
reflex/.templates/web/next.config.js

@@ -1,4 +1,5 @@
 module.exports = {
 module.exports = {
   reactStrictMode: true,
   reactStrictMode: true,
   compress: true,
   compress: true,
+  trailingSlash: true,
 };
 };

+ 0 - 1
reflex/reflex.py

@@ -199,7 +199,6 @@ def deploy(
         return
         return
 
 
     # Compile the app in production mode.
     # Compile the app in production mode.
-    console.info("Compiling production app")
     export(loglevel=loglevel)
     export(loglevel=loglevel)
 
 
     # Exit early if this is a dry run.
     # Exit early if this is a dry run.