We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83620bb commit a108b35Copy full SHA for a108b35
src/fetch_request.js
@@ -19,10 +19,7 @@ export class FetchRequest {
19
console.error(error)
20
}
21
22
- const fetch = (this.responseKind === 'turbo-stream' && window.Turbo)
23
- ? window.Turbo.fetch
24
- : window.fetch
25
-
+ const fetch = window.Turbo ? window.Turbo.fetch : window.fetch
26
const response = new FetchResponse(await fetch(this.url, this.fetchOptions))
27
28
if (response.unauthenticated && response.authenticationURL) {
0 commit comments