icon
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
export const BASE_URL = `${import.meta.env.VITE_API_BASE_URL}/api/rag`;
|
export const BASE_URL = `${import.meta.env.VITE_API_BASE_URL || ""}/api/rag`;
|
||||||
export const METHOD_POST_QUERY = "POST";
|
export const METHOD_POST_QUERY = "POST";
|
||||||
export const METHOD_GET_QUERY = "GET";
|
export const METHOD_GET_QUERY = "GET";
|
||||||
export const METHOD_DELETE_QUERY = "DELETE";
|
export const METHOD_DELETE_QUERY = "DELETE";
|
||||||
|
|||||||
@@ -4,9 +4,4 @@ import react from "@vitejs/plugin-react";
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
base: "/ragview/",
|
base: "/ragview/",
|
||||||
define: {
|
|
||||||
"import.meta.env.VITE_API_BASE_URL": JSON.stringify(
|
|
||||||
process.env.VITE_API_BASE_URL || "https://balexvic.com"
|
|
||||||
),
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user