17 lines
423 B
TypeScript
17 lines
423 B
TypeScript
import type { SpecConfiguration } from "../react-openapi";
|
|
// import { tokenStore } from "../react-auth";
|
|
|
|
const apiBase = import.meta.env.VITE_API_BASE_URL;
|
|
|
|
export const specConfiguration: SpecConfiguration = {
|
|
specUrl: `${apiBase}/openapi.json`,
|
|
baseApiUrl: apiBase,
|
|
title: "Khata",
|
|
resourceConfig: {
|
|
expenses: {
|
|
filterOptions: { mode: "client" },
|
|
},
|
|
},
|
|
// getToken: () => tokenStore.get(),
|
|
};
|