Update README.md
parent
6ca334d034
commit
ec575bfea0
|
|
@ -77,7 +77,7 @@ See workaround below.
|
||||||
```apache
|
```apache
|
||||||
# CORS hack
|
# CORS hack
|
||||||
Header always set Access-Control-Allow-Origin "*"
|
Header always set Access-Control-Allow-Origin "*"
|
||||||
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS"
|
Header always set Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
|
||||||
Header always set Access-Control-Allow-Headers "Authorization, Content-Type"
|
Header always set Access-Control-Allow-Headers "Authorization, Content-Type"
|
||||||
|
|
||||||
# CORS custom response for OPTIONS request (because szurubooru doesn't handle this, yet)
|
# CORS custom response for OPTIONS request (because szurubooru doesn't handle this, yet)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue