2025-12-18 10:32:10: merge [main:99b0ede2a51eec63b6d940ca4b85f7e0faf21168];
This commit is contained in:
1 parent
856df328fe
commit
96ed1658b3
5 files changed
+1059
-1011
No files matched your search
@@ -1,3 +1,8 @@
|
||||
## 0.26.1
|
||||
- Исправлено
|
||||
- Формирование конфига nginx c public path
|
||||
- Обновлено
|
||||
- Библиотека isp-admin-ui-kit (добавлен public path в вызовы методов)
|
||||
## 0.26.0
|
||||
- Добавлено
|
||||
- Поддержка стороннего public-path
|
||||
|
||||
+14
-12
@@ -3,21 +3,23 @@ server {
|
||||
server_name localhost;
|
||||
root /opt/msp/isp-admin-ui/;
|
||||
|
||||
location __PUBLIC_PATH__api {
|
||||
client_max_body_size 10M;
|
||||
rewrite ^__PUBLIC_PATH__api/(.*)$ /api/$1 break;
|
||||
|
||||
proxy_pass http://10.2.4.241:9003/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
location / {
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
add_header Pragma "no-cache"; # Для совместимости с HTTP/1.0
|
||||
expires off;
|
||||
try_files $uri __PUBLIC_PATH__/index.html;
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
add_header Pragma "no-cache"; # Для совместимости с HTTP/1.0
|
||||
expires off;
|
||||
try_files $uri __PUBLIC_PATH__index.html;
|
||||
}
|
||||
|
||||
location /api {
|
||||
client_max_body_size 10M;
|
||||
|
||||
proxy_pass http://isp-gate-service:9003;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
location /assets/ {
|
||||
gzip on;
|
||||
gzip_comp_level 6;
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ set -e
|
||||
|
||||
PUBLIC_PATH="${PUBLIC_PATH:-/}"
|
||||
|
||||
PUBLIC_PATH="$(echo "$PUBLIC_PATH" | sed -E 's|^/*|/|; s|/*$|/|')"
|
||||
PUBLIC_PATH="$(printf '%s' "$PUBLIC_PATH" | sed -E 's|^/*|/|; s|/*$|/|')"
|
||||
|
||||
echo "Using normalized PUBLIC_PATH: '$PUBLIC_PATH'"
|
||||
|
||||
|
||||
Generated
+1036
-995
File diff suppressed because it is too large.
Load diff
+3
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "isp-admin-ui",
|
||||
"private": true,
|
||||
"version": "0.26.0",
|
||||
"version": "0.26.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
@@ -18,8 +18,8 @@
|
||||
"@reduxjs/toolkit": "^2.2.3",
|
||||
"axios": "^1.7.7",
|
||||
"dayjs": "^1.11.10",
|
||||
"isp-admin-ui-kit": "^1.5.3",
|
||||
"isp-ui-kit": "^0.23.0",
|
||||
"isp-admin-ui-kit": "^1.5.8",
|
||||
"isp-ui-kit": "^0.23.2",
|
||||
"monaco-editor": "^0.52.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
|
||||
Reference in new issue
Block a user