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

29 lines
1.2 KiB

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[62300],{
/***/ 75572:
/*!*********************************!*\
!*** ./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 */ 26078);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! umi */ 7181);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
/* harmony default export */ __webpack_exports__["default"] = (function () {
var location = (0,umi__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
window.location.href = _utils_env__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z.API_SERVER + location.pathname + location.search;
}, [location.pathname]);
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", {});
});
/***/ })
}]);