Skip to content

Commit

Permalink
chore(linter): run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bas-kirill committed Aug 28, 2024
1 parent 40b4d36 commit e2b8a14
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions client/src/shared/config/api.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { Configuration } from "generated/configuration";

interface Window {
_env_: {
SERVER_API_URL: string;
};
}

// @ts-ignore
// @ts-expect-error there is will be no error if env was set up
const apiUrl = window._env_.SERVER_API_URL;
export const apiConfig = new Configuration({
basePath: apiUrl,
Expand Down

0 comments on commit e2b8a14

Please sign in to comment.