Nette 2.4 Tracy – X-Tracy-Ajax
- DavidTheNewbie
- Člen | 79
Nevite prosim, co znamena v Chrome tools:
Request header field X-Tracy-Ajax is not allowed by Access-Control-Allow-Headers in preflight response.
- DavidTheNewbie
- Člen | 79
David Matějka napsal(a):
nenastavujes nekde tu hlavicku
Access-Control-Allow-Headers
?
Mam, ale i kdyz ji vymazu, hlaska v konzoli pretrvava…
- DavidTheNewbie
- Člen | 79
Byt toto bylo, ocividne, napraveno zde: https://github.com/…c66db79de203, tak i presto se to v mem pripade deje s nejnovejsi Tracy. Ci-li request na cross-domain target https://backend1.yottly.com/…/personalised-substitutes konci hlaskou XMLHttpRequest cannot load https://backend1.yottly.com/…-substitutes. Request header field X-Tracy-Ajax is not allowed by Access-Control-Allow-Headers in preflight response. Dle odkazu na commit vyse by to melo byt minulosti, coz ocividne neni. Existuje reseni, tj zabranit, aby se Tracy „cpala“ do cross-domain requestu?
Editoval DavidTheNewbie (10. 7. 2017 23:46)