Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@
*/
import { ChakraProvider } from "@chakra-ui/react";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import axios from "axios";
import { OpenAPI } from "openapi/requests/core/OpenAPI";
import { FC } from "react";

import { ColorModeProvider } from "src/context/colorMode";
import { EdgeLayout } from "src/layouts/EdgeLayout";
import { tokenHandler } from "src/utils";

import { system } from "./theme";

Expand All @@ -39,9 +37,6 @@ const PluginComponent: FC<PluginComponentProps> = () => {
const baseUrl = new URL(baseHref, globalThis.location.origin);
OpenAPI.BASE = baseUrl.pathname.replace(/\/$/, ""); // Remove trailing slash

// ensure HTTP API calls are authenticated with current session token
axios.interceptors.request.use(tokenHandler);

const queryClient = new QueryClient({
defaultOptions: {
queries: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@

export { autoRefreshInterval } from "./config";
export { useContainerWidth } from "./useContainerWidth";
export { tokenHandler } from "./tokenHandler";

This file was deleted.

2 changes: 1 addition & 1 deletion providers/edge3/www-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6f9d1491ff93e39d2012159924dc6468711f8a7ca492cb1bb9cd1d2aabb390e8
322301597184e71a246b8c279b8e499493241928f81c90b33f05322b0e5f4926