gfrenoy / TabT-API

Programming interface for TabT, the free table tennis manager software
http://tabt.frenoy.net
GNU Affero General Public License v3.0
9 stars 5 forks source link

CORS issue with AFTT/VTTL #18

Closed Fllorent0D closed 5 years ago

Fllorent0D commented 5 years ago

HI,

I'm facing a CORS issue with my app. It's not working for a few days it seems. I see that header('Access-Control-Allow-Origin: *'); is set correctly. Maybe something is wrong with the Apache server. I created a simple demo of my issue (https://stackblitz.com/edit/http-basics-fztxxv).

Can you please check? I have a lot of people coming back to me, asking me why it's not working anymore.

gfrenoy commented 5 years ago

ModPageSpeed is apparently removing the headers set by the apache2 code. Not sure why but I've disabled ModPageSpeed for the API ; it's useless, anyway.

Fllorent0D commented 5 years ago

Thanks a lot! It's working fine 😊