CORS Error when canceling publish on Odysee / LBRY #388

Open
opened 2021-03-13 21:31:37 +01:00 by DispatchCommit · 0 comments
DispatchCommit commented 2021-03-13 21:31:37 +01:00 (Migrated from github.com)

c31161c41a/src/redux/actions/publish.js (L19)

This function causes a CORS error client side:

image

https://spee.ch/api/config/site/publishing 302 redirections to -> https://lbry2.vanwanet.com/speech/api/config/site/publishing

The redirection on spee.ch has proper CORS, however the location at lbry2.vanwanet.com does not have any CORs set.

@tzarebczan suggested removing the check entirely.

https://github.com/lbryio/lbry-redux/blob/c31161c41a54f6e05e7a75de54f86629eafec0e0/src/redux/actions/publish.js#L19 This function causes a CORS error client side: ![image](https://user-images.githubusercontent.com/45262335/111043504-ccbc8600-83f7-11eb-926b-2890525de3c7.png) https://spee.ch/api/config/site/publishing 302 redirections to -> https://lbry2.vanwanet.com/speech/api/config/site/publishing The redirection on spee.ch has proper CORS, however the location at lbry2.vanwanet.com does not have any CORs set. @tzarebczan suggested removing the check entirely.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-redux#388
No description provided.