|
|
|
|
@ -50689,7 +50689,7 @@ function request(url, option, flag, ismin) {
|
|
|
|
|
(0,_utils_util__WEBPACK_IMPORTED_MODULE_8__/* .setHeader */ .Ec)(newOptions, url);
|
|
|
|
|
if (ismin) prefixUrl = '';
|
|
|
|
|
newOptions.headers["_method"] = newOptions.method;
|
|
|
|
|
newOptions.headers["HTTP_X_HTTP_METHOD_OVERRIDE"] = newOptions.method;
|
|
|
|
|
newOptions.headers["X-HTTP-Method-Override"] = newOptions.method;
|
|
|
|
|
if (newOptions.method === "DELETE") newOptions.method = "POST";
|
|
|
|
|
return fetch(prefixUrl + url, newOptions).then(function (response) {
|
|
|
|
|
return checkStatus(response, _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({
|
|
|
|
|
|