瀏覽代碼

Add trailing slash for paths (#1517)

Nikhil Rao 1 年之前
父節點
當前提交
56ab2bb012
共有 2 個文件被更改,包括 1 次插入1 次删除
  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 = {
   reactStrictMode: true,
   compress: true,
+  trailingSlash: true,
 };

+ 0 - 1
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.