We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 802a774 commit 63f711bCopy full SHA for 63f711b
clients/web/src/connectors/items/mutation-import.state.js
@@ -78,11 +78,14 @@ function* setupImport() {
78
throw new Error(errorMessage)
79
}
80
81
- const uploadResponse = yield fetch(`/api/import?preSignedUrl=${encodeURIComponent(url)}`, {
82
- method: 'PUT',
83
- headers: { 'Content-Type': 'application/zip' },
84
- body: file
85
- })
+ const uploadResponse = yield fetch(
+ `/web-client-api/import?preSignedUrl=${encodeURIComponent(url)}`,
+ {
+ method: 'PUT',
+ headers: { 'Content-Type': 'application/zip' },
86
+ body: file
87
+ }
88
+ )
89
90
if (!uploadResponse.ok) throw new Error(`${response.status}: ${response.statusText}`)
91
0 commit comments