fixed novo market apis

This commit is contained in:
sdarbinyan
2026-04-13 23:19:38 +04:00
parent 77737f0ba9
commit 06a7568386
7 changed files with 26 additions and 4 deletions

View File

@@ -166,7 +166,8 @@
"buildTarget": "Dexarmarket:build:development"
},
"novo": {
"buildTarget": "Dexarmarket:build:novo"
"buildTarget": "Dexarmarket:build:novo",
"proxyConfig": "proxy.conf.novo.json"
},
"novo-production": {
"buildTarget": "Dexarmarket:build:novo-production"

View File

@@ -5,7 +5,7 @@
"ng": "ng",
"start": "ng serve",
"dexar": "ng serve --configuration=development --port 4200",
"novo": "ng serve --configuration=novo --port 4201",
"novo": "ng serve --configuration=novo --port 4201 --proxy-config proxy.conf.novo.json",
"start:dexar": "ng serve --configuration=development --port 4200",
"start:novo": "ng serve --configuration=novo --port 4201",
"build": "ng build",

11
proxy.conf.novo.json Normal file
View File

@@ -0,0 +1,11 @@
{
"/api": {
"target": "https://api.novo.market:444",
"secure": false,
"changeOrigin": true,
"pathRewrite": {
"^/api": ""
},
"logLevel": "debug"
}
}

View File

@@ -75,6 +75,9 @@
</div>
<div class="novo-category-info">
<h3>{{ categoryName(category) }}</h3>
@if (getItemCount(category.categoryID)) {
<span class="novo-category-count">{{ getItemCount(category.categoryID) }}</span>
}
<span class="novo-category-arrow"></span>
</div>
</a>

View File

@@ -308,6 +308,13 @@
margin: 0;
}
.novo-category-count {
font-size: 0.85rem;
color: var(--text-secondary, #888);
margin-left: auto;
margin-right: 0.75rem;
}
.novo-category-arrow {
font-size: 1.5rem;
color: var(--primary-color);

View File

@@ -4,7 +4,7 @@ export const environment = {
brandName: 'novo Market',
brandFullName: 'novo Market',
theme: 'novo',
apiUrl: 'https://api.novo.market:444',
apiUrl: '/api',
logo: '/assets/images/novo-logo.svg',
contactEmail: 'info@novo.market',
supportEmail: 'info@novo.market',

View File

@@ -4,7 +4,7 @@ export const environment = {
brandName: 'novo Market',
brandFullName: 'novo Market',
theme: 'novo',
apiUrl: 'https://api.novo.market:444',
apiUrl: '/api',
logo: '/assets/images/novo-logo.svg',
contactEmail: 'info@novo.market',
supportEmail: 'info@novo.market',