fixed API Base

This commit is contained in:
Radek Davidek 2025-11-01 13:21:59 +01:00
parent fb3fdb275e
commit dd14b7ba96

View File

@ -97,7 +97,7 @@ input, select, button {
<div id="list" class="grid" style="display: none"></div> <div id="list" class="grid" style="display: none"></div>
<script> <script>
const API_BASE = "http://localhost:8080"; const API_BASE = "";
const urlParams = new URLSearchParams(window.location.search); const urlParams = new URLSearchParams(window.location.search);
const apiKey = urlParams.get('apiKey'); const apiKey = urlParams.get('apiKey');
const listEl = document.getElementById('list'); const listEl = document.getElementById('list');