reorder
This commit is contained in:
@@ -101,7 +101,10 @@
|
||||
<div id="toast"></div>
|
||||
|
||||
<script>
|
||||
const API = window.location.origin;
|
||||
let API = window.location.origin;
|
||||
if (API === 'null' || API.startsWith('file://')) {
|
||||
API = 'http://127.0.0.1:8500';
|
||||
}
|
||||
|
||||
function showToast(msg) {
|
||||
const t = document.getElementById('toast');
|
||||
|
||||
Reference in New Issue
Block a user