fixed novo market apis
This commit is contained in:
@@ -166,7 +166,8 @@
|
|||||||
"buildTarget": "Dexarmarket:build:development"
|
"buildTarget": "Dexarmarket:build:development"
|
||||||
},
|
},
|
||||||
"novo": {
|
"novo": {
|
||||||
"buildTarget": "Dexarmarket:build:novo"
|
"buildTarget": "Dexarmarket:build:novo",
|
||||||
|
"proxyConfig": "proxy.conf.novo.json"
|
||||||
},
|
},
|
||||||
"novo-production": {
|
"novo-production": {
|
||||||
"buildTarget": "Dexarmarket:build:novo-production"
|
"buildTarget": "Dexarmarket:build:novo-production"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
"dexar": "ng serve --configuration=development --port 4200",
|
"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:dexar": "ng serve --configuration=development --port 4200",
|
||||||
"start:novo": "ng serve --configuration=novo --port 4201",
|
"start:novo": "ng serve --configuration=novo --port 4201",
|
||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
|
|||||||
11
proxy.conf.novo.json
Normal file
11
proxy.conf.novo.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"/api": {
|
||||||
|
"target": "https://api.novo.market:444",
|
||||||
|
"secure": false,
|
||||||
|
"changeOrigin": true,
|
||||||
|
"pathRewrite": {
|
||||||
|
"^/api": ""
|
||||||
|
},
|
||||||
|
"logLevel": "debug"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -75,6 +75,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="novo-category-info">
|
<div class="novo-category-info">
|
||||||
<h3>{{ categoryName(category) }}</h3>
|
<h3>{{ categoryName(category) }}</h3>
|
||||||
|
@if (getItemCount(category.categoryID)) {
|
||||||
|
<span class="novo-category-count">{{ getItemCount(category.categoryID) }}</span>
|
||||||
|
}
|
||||||
<span class="novo-category-arrow">→</span>
|
<span class="novo-category-arrow">→</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -307,6 +307,13 @@
|
|||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.novo-category-count {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
color: var(--text-secondary, #888);
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.novo-category-arrow {
|
.novo-category-arrow {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export const environment = {
|
|||||||
brandName: 'novo Market',
|
brandName: 'novo Market',
|
||||||
brandFullName: 'novo Market',
|
brandFullName: 'novo Market',
|
||||||
theme: 'novo',
|
theme: 'novo',
|
||||||
apiUrl: 'https://api.novo.market:444',
|
apiUrl: '/api',
|
||||||
logo: '/assets/images/novo-logo.svg',
|
logo: '/assets/images/novo-logo.svg',
|
||||||
contactEmail: 'info@novo.market',
|
contactEmail: 'info@novo.market',
|
||||||
supportEmail: 'info@novo.market',
|
supportEmail: 'info@novo.market',
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export const environment = {
|
|||||||
brandName: 'novo Market',
|
brandName: 'novo Market',
|
||||||
brandFullName: 'novo Market',
|
brandFullName: 'novo Market',
|
||||||
theme: 'novo',
|
theme: 'novo',
|
||||||
apiUrl: 'https://api.novo.market:444',
|
apiUrl: '/api',
|
||||||
logo: '/assets/images/novo-logo.svg',
|
logo: '/assets/images/novo-logo.svg',
|
||||||
contactEmail: 'info@novo.market',
|
contactEmail: 'info@novo.market',
|
||||||
supportEmail: 'info@novo.market',
|
supportEmail: 'info@novo.market',
|
||||||
|
|||||||
Reference in New Issue
Block a user