Ver Fonte

Use redirect on preview

Sage Abdullah há 1 mês atrás
pai
commit
42176822af
1 ficheiros alterados com 1 adições e 0 exclusões
  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,
 }