Pomf icon indicating copy to clipboard operation
Pomf copied to clipboard

Add CORS headers for Javascript API

Open emersion opened this issue 9 years ago • 5 comments

Add CORS headers to allow JS scripts to post to upload endpoint

emersion avatar Jan 13 '15 17:01 emersion

I would like this, preferably on Uguu too.

tdaede avatar Mar 14 '15 23:03 tdaede

@avail mind helping on this one?

nokonoko avatar Apr 22 '15 19:04 nokonoko

CORS has to be added through the server's config (nginx/apache), can't do shit about that.

avail avatar Apr 23 '15 00:04 avail

No, it's just HTTP headers. You can generate the headers with PHP, if no content has been emitted yet.

tdaede avatar Apr 23 '15 00:04 tdaede

@tdaede good point, didn't think about that.

avail avatar Apr 23 '15 13:04 avail