Fixed get request handling and cors issues.
Merge pull request #17 from emiidee/feat/server-fix

Fixed an issue with the get request.