mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 15:24:51 +00:00
update
This commit is contained in:
parent
7057e64ebd
commit
0ce2d7e5a2
@ -17,12 +17,6 @@
|
|||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
type GraphQLErrors = Array<{ message: string }>;
|
|
||||||
type GraphQLResponse<T> = {
|
|
||||||
data?: T;
|
|
||||||
errors?: GraphQLErrors;
|
|
||||||
};
|
|
||||||
|
|
||||||
const Timeout = 2 * 60 * 1000;
|
const Timeout = 2 * 60 * 1000;
|
||||||
export let globalAbortController = new AbortController();
|
export let globalAbortController = new AbortController();
|
||||||
export function abortRequestsAndUpdate() {
|
export function abortRequestsAndUpdate() {
|
||||||
|
@ -37,7 +37,7 @@ const router = createRouter({
|
|||||||
routes,
|
routes,
|
||||||
});
|
});
|
||||||
|
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, _, next) => {
|
||||||
// const token = window.localStorage.getItem("skywalking-authority");
|
// const token = window.localStorage.getItem("skywalking-authority");
|
||||||
|
|
||||||
if (to.path === "/") {
|
if (to.path === "/") {
|
||||||
|
Loading…
Reference in New Issue
Block a user