Browse Source

Use redirect on preview

Sage Abdullah 1 month ago
parent
commit
42176822af
1 changed files with 1 additions and 0 deletions
  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,
 }