mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-21 01:31:20 +00:00
updated
This commit is contained in:
parent
86af10721b
commit
210e851ceb
@ -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
|
Loading…
x
Reference in New Issue
Block a user