Merge branch 'master' of https://github.com/benjamin-wilson/public-pool-ui
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve --proxy-config proxy.config.local.json ",
|
"start": "ng serve --proxy-config proxy.config.local.json ",
|
||||||
"build": "ng build --configuration=production && gzipper compress --gzip --brotli ./dist/public-pool-ui/",
|
"build": "ng build --configuration=production && gzipper compress --gzip --brotli ./dist/public-pool-ui/",
|
||||||
|
"start:prod": "ng serve --proxy-config proxy.config.prod.json ",
|
||||||
"watch": "ng build --watch --configuration development",
|
"watch": "ng build --watch --configuration development",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
"bundle-report": "ng build --configuration=production --source-map=true --named-chunks=true --stats-json && webpack-bundle-analyzer dist/public-pool-ui/stats.json"
|
"bundle-report": "ng build --configuration=production --source-map=true --named-chunks=true --stats-json && webpack-bundle-analyzer dist/public-pool-ui/stats.json"
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"/api/*": {
|
||||||
|
"target": "http://public-pool.airdns.org:40557",
|
||||||
|
"secure": false,
|
||||||
|
"logLevel": "debug",
|
||||||
|
"pathRewrite": {
|
||||||
|
"^/api": ""
|
||||||
|
},
|
||||||
|
"changeOrigin": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<div class="card mb-4">
|
<div class="card mb-4">
|
||||||
<div class="flex justify-content-between mb-3">
|
<div class="flex justify-content-between mb-3">
|
||||||
<div>
|
<div>
|
||||||
<span class="block text-500 font-medium mb-3">Best Difficulty</span>
|
<span class="block text-500 font-medium mb-3">Best Difficulty (All-Time)</span>
|
||||||
<div class="text-900 font-medium text-xl">{{clientInfo.bestDifficulty | numberSuffix}}
|
<div class="text-900 font-medium text-xl">{{clientInfo.bestDifficulty | numberSuffix}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Session ID</th>
|
<th>Session ID</th>
|
||||||
<th>Hash Rate</th>
|
<th>Hash Rate</th>
|
||||||
<th>Best Difficulty</th>
|
<th>Best Difficulty (Session)</th>
|
||||||
<th>Uptime</th>
|
<th>Uptime</th>
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
API_URL: 'http://localhost:3334'
|
API_URL: '/api'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user