You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Api__index.async.js

28 lines
1.1 KiB

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[2300],{
/***/ 50226:
/*!*********************************!*\
!*** ./src/pages/Api/index.tsx ***!
\*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/env */ 21873);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! umi */ 67866);
/* harmony default export */ __webpack_exports__["default"] = (() => {
const location = (0,umi__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
window.location.href = _utils_env__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z.API_SERVER + location.pathname + location.search;
}, [location.pathname]);
return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null);
});
/***/ })
}]);