mataroa-blog / mataroa

Naked blogging platform
https://mataroa.blog
GNU Affero General Public License v3.0
238 stars 21 forks source link

question about API: is it possible to allow cors? #24

Closed RetricSu closed 2 years ago

sirodoht commented 2 years ago

Hey @RetricSu!

Just to make the request clearer, is this about doing requests in the Mataroa API from a client-side JavaScript script?

RetricSu commented 2 years ago

Hey @RetricSu!

Just to make the request clearer, is this about doing requests in the Mataroa API from a client-side JavaScript script?

yes exactly, just wondering if that is possible

RetricSu commented 2 years ago

given that using API requires Authorization Header, it might be a bad idea to allow cors.

truenicoco commented 2 years ago

Wouldn't it be OK to allow CORS for the RSS feeds (blog posts and comments) though?