fixed novo market apis
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
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 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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user