template/*: add CORS

This commit is contained in:
Milan
2022-04-22 13:35:26 +02:00
parent 2787bb5d5f
commit 006b5ae583
18 changed files with 18 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
</TMPL_IF>Content-type:application/json; charset=UTF-8
Access-Control-Allow-Origin: *
("events" : [<TMPL_LOOP events>"event":{"id" : "<TMPL_VAR event_id>"}<TMPL_UNLESS NAME="__last__">,</TMPL_UNLESS></TMPL_LOOP>])