Update a comment
This commit is contained in:
parent
f1f42052fb
commit
e5a60a8c84
@ -53,8 +53,8 @@ window.onload = () => {
|
|||||||
// Requests made using "no-cors" mode will hide the real response.status by making it 0
|
// Requests made using "no-cors" mode will hide the real response.status by making it 0
|
||||||
// and the real response.ok by making it false.
|
// and the real response.ok by making it false.
|
||||||
// If the real response was success, then we would like to show the success state.
|
// If the real response was success, then we would like to show the success state.
|
||||||
// If the real response was an error, then we wish we could show the manual
|
// If the real response was an error, then we wish we could do something else (maybe show the error?),
|
||||||
// state, but we have no way to know that, as long as we are making "no-cors" requests.
|
// but we have no way to know the real response as long as we are making "no-cors" requests.
|
||||||
// For now, show the success status for all responses.
|
// For now, show the success status for all responses.
|
||||||
// In the future, we could make this request in "cors" mode once old versions of our CLI
|
// In the future, we could make this request in "cors" mode once old versions of our CLI
|
||||||
// which did not handle CORS are upgraded out by our users. That would allow us to use
|
// which did not handle CORS are upgraded out by our users. That would allow us to use
|
||||||
|
Loading…
Reference in New Issue
Block a user