{"action":"created","issue":{"url":"https://api.github.com/repos/Festify/app/issues/184","repository_url":"https://api.github.com/repos/Festify/app","labels_url":"https://api.github.com/repos/Festify/app/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/Festify/app/issues/184/comments","events_url":"https://api.github.com/repos/Festify/app/issues/184/events","html_url":"https://github.com/Festify/app/issues/184","id":327469252,"node_id":"MDU6SXNzdWUzMjc0NjkyNTI=","number":184,"title":"No 'Access-Control-Allow-Origin' header is present on the requested resource","user":{"login":"xer0design","id":13142965,"node_id":"MDQ6VXNlcjEzMTQyOTY1","avatar_url":"https://avatars3.githubusercontent.com/u/13142965?v=4","gravatar_id":"","url":"https://api.github.com/users/xer0design","html_url":"https://github.com/xer0design","followers_url":"https://api.github.com/users/xer0design/followers","following_url":"https://api.github.com/users/xer0design/following{/other_user}","gists_url":"https://api.github.com/users/xer0design/gists{/gist_id}","starred_url":"https://api.github.com/users/xer0design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xer0design/subscriptions","organizations_url":"https://api.github.com/users/xer0design/orgs","repos_url":"https://api.github.com/users/xer0design/repos","events_url":"https://api.github.com/users/xer0design/events{/privacy}","received_events_url":"https://api.github.com/users/xer0design/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-05-29T20:09:25Z","updated_at":"2018-06-14T20:15:26Z","closed_at":null,"author_association":"NONE","body":"Hey,\r\n\r\nI've Festify setup and mostly running, it serves now and redirects over to spotify to login then kicks you back to the site but fails with an \"Internal\" error on the bottom left of Festify, developer console gives me this, an error about \"No 'Access-Control-Allow-Origin' header\", any ideas on how to fix? \r\n\r\n`\r\nraven.js:1400 OPTIONS https://us-central1-*****.cloudfunctions.net/exchangeCode 404 ()\r\nVM10579:1 Failed to load https://us-central1-*****.cloudfunctions.net/exchangeCode: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://htek.ie:3000' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.\r\n`\r\n\r\nThe same thing happens with serve (htek.ie:3000) and a built version (build.htek.ie)\r\n\r\nCloudfunctions.net is a firebase domain so I've gone through the settings there but everything appears to be correct? The domain is added to the authroised domains and all that, any help would be appreciated! \r\n"},"comment":{"url":"https://api.github.com/repos/Festify/app/issues/comments/397424330","html_url":"https://github.com/Festify/app/issues/184#issuecomment-397424330","issue_url":"https://api.github.com/repos/Festify/app/issues/184","id":397424330,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzQyNDMzMA==","user":{"login":"NeoLegends","id":1683034,"node_id":"MDQ6VXNlcjE2ODMwMzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1683034?v=4","gravatar_id":"","url":"https://api.github.com/users/NeoLegends","html_url":"https://github.com/NeoLegends","followers_url":"https://api.github.com/users/NeoLegends/followers","following_url":"https://api.github.com/users/NeoLegends/following{/other_user}","gists_url":"https://api.github.com/users/NeoLegends/gists{/gist_id}","starred_url":"https://api.github.com/users/NeoLegends/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeoLegends/subscriptions","organizations_url":"https://api.github.com/users/NeoLegends/orgs","repos_url":"https://api.github.com/users/NeoLegends/repos","events_url":"https://api.github.com/users/NeoLegends/events{/privacy}","received_events_url":"https://api.github.com/users/NeoLegends/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T20:15:26Z","updated_at":"2018-06-14T20:15:26Z","author_association":"MEMBER","body":"Name it `spotify.config.ts`, notice the `.ts`."}}
{"actor":{"display_login":"NeoLegends"}}