fixed code

This commit is contained in:
Saifeddine ALOUI 2025-02-24 23:26:58 +01:00
parent fd572f86f5
commit 27855241d0
4 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI</title>
<script type="module" crossorigin src="/assets/index-D7iKQYcq.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-g6y9Yzq7.css">
<script type="module" crossorigin src="/assets/index-D52iWIrv.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BTsjazDD.css">
</head>
<body>
<div id="app"></div>

View File

@ -5304,7 +5304,7 @@ export default {
},
async showLightRagWebUI(index){
// Construct the WebUI URL using the config file
const webuiUrl = `${this.configFile.datalakes[index].url}/webui`;
const webuiUrl = `${this.configFile.datalakes[index].url.replace(/\/$/, '')}/webui`;
// Open the WebUI in a new tab
window.open(webuiUrl, '_blank');