This commit is contained in:
Saifeddine ALOUI 2023-11-21 23:50:17 +01:00
parent 86af10721b
commit 210e851ceb
4 changed files with 4 additions and 4 deletions

View File

@ -8,9 +8,9 @@ import vue from '@vitejs/plugin-vue'
export default async ({ mode }) => {
async function getFlaskServerURL() {
try {
console.log("Loading")
const response = await fetch('/get_server_address'); // Replace with the actual endpoint on your Flask server
const serverAddress = await response.text();
console.log(`${serverAddress}`)
if(serverAddress.includes('<') || !serverAddress.startsWith("http")){
console.log(`Server address not found`)
return process.env.VITE_LOLLMS_API

@ -1 +1 @@
Subproject commit 3e6fe8b63b37ce9c8fff04c07ef20f8cfc55305f
Subproject commit 2dad80c7fb78c032941894990b33fd22cc62ea80

@ -1 +1 @@
Subproject commit 82e1267ce16509adb2b2a88c9bdd1e9053e64f31
Subproject commit 961ff4bad2a1e60f3b9013d737cb516381258d1b

@ -1 +1 @@
Subproject commit a89d186a00d6e1a6f31a9c7ee4ce77862376cd49
Subproject commit 1ed229af3443fc9d8bc9a19c1ae33e32cb67aa50