Commit fc7df751 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

update: little mistack on readme

parent 29a660fb
Pipeline #6111 passed with stage
in 1 minute and 26 seconds
......@@ -267,9 +267,9 @@ INSTALLED_APPS = [
]
```
## 302 on domain mismatch
## 301 on domain mismatch
To enable 302 redirection on domain mismatch, add `djangoldp.middleware.AllowOnlySiteUrl` on `MIDDLEWARE`
To enable 301 redirection on domain mismatch, add `djangoldp.middleware.AllowOnlySiteUrl` on `MIDDLEWARE`
This ensure that your clients will use `SITE_URL` and avoid mismatch betwen url & the id of a resource/container
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment