v1.2
This commit is contained in:
@@ -335,7 +335,9 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const API_BASE_URL = 'http://localhost:8000/api';
|
||||
const currentProtocol = window.location.protocol; // http: или https:
|
||||
const currentHost = window.location.host; // yarmarka.rabota.today или IP:порт
|
||||
let API_BASE_URL = `${currentProtocol}//${currentHost}/api`;
|
||||
let currentPage = 1;
|
||||
let totalPages = 1;
|
||||
let searchTimeout;
|
||||
|
||||
Reference in New Issue
Block a user