Fixed CORS breaking logic error
Merge pull request #11 from ksedge/whateverlolz

Fixed CORS breaking logic error