v1.2
This commit is contained in:
@@ -636,7 +636,9 @@
|
||||
<div id="notification"></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 currentUser = null;
|
||||
let currentType = 'received'; // 'received' или 'sent'
|
||||
let currentPage = 1;
|
||||
|
||||
Reference in New Issue
Block a user