Browse Source

Use redirect on preview

Sage Abdullah 1 tháng trước cách đây
mục cha
commit
42176822af
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      bakerydemo/settings/base.py

+ 1 - 0
bakerydemo/settings/base.py

@@ -259,4 +259,5 @@ WAGTAIL_HEADLESS_PREVIEW = {
     "CLIENT_URLS": {
         "default": "http://localhost:3000",
     },
+    "REDIRECT_ON_PREVIEW": True,
 }