ante-erp-cli 1.9.4 → 1.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/src/utils/nginx.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Build Workflow Optimization**: Added path-based filtering to skip unchanged components during builds
|
|
12
|
+
|
|
10
13
|
## [1.10.0] - 2025-11-04
|
|
11
14
|
|
|
12
15
|
### Added
|
package/package.json
CHANGED
package/src/utils/nginx.js
CHANGED
|
@@ -549,6 +549,16 @@ server {
|
|
|
549
549
|
# Increase body size for image uploads
|
|
550
550
|
client_max_body_size 50M;
|
|
551
551
|
|
|
552
|
+
# Disable caching for config.js to ensure runtime config is always fresh
|
|
553
|
+
location = /config.js {
|
|
554
|
+
proxy_pass http://localhost:${facialWebPort}/config.js;
|
|
555
|
+
proxy_http_version 1.1;
|
|
556
|
+
proxy_set_header Host $host;
|
|
557
|
+
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" always;
|
|
558
|
+
add_header Pragma "no-cache" always;
|
|
559
|
+
add_header Expires "0" always;
|
|
560
|
+
}
|
|
561
|
+
|
|
552
562
|
location / {
|
|
553
563
|
proxy_pass http://localhost:${facialWebPort};
|
|
554
564
|
proxy_http_version 1.1;
|