You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been having a problem in camomile-polymer-client when accessing the server from a second origin.
It seems the browser remembers the first origin, which then doesn't match the Access-Control-Allow-Origin header.
The master branch of camomile-client-javascript isn't up to date, the develop branch is up to date.
It might be a problem in the javascript client but there's nothing mentioning the origin so I'm not sure.
Maybe something inside the http api used in the client is sending the previous origin by default.
I've been having a problem in camomile-polymer-client when accessing the server from a second origin.
It seems the browser remembers the first origin, which then doesn't match the Access-Control-Allow-Origin header.
I believe this is related to that line of code
camomile-server/app.js
Line 147 in e7625ee
https://www.npmjs.com/package/cors#configuration-options explains the available options for cors
It might be possible to change something there to make it work for several origin.
The text was updated successfully, but these errors were encountered: