Skip to content

Commit 026eaa8

Browse files
committed
fix: 🔨 uptime report layout
1 parent 8454fb2 commit 026eaa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web-app/src/views/DashBoard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ export default {
370370
bodyFormData.append('id', id);
371371
axios({
372372
method: "post",
373-
url: '/api/uptime',
373+
url: self.$apiUrl + '/api/uptime',
374374
data: bodyFormData,
375375
headers: { "Content-Type": "multipart/form-data" },
376376
}).then(res=>{
@@ -379,7 +379,7 @@ export default {
379379
imageUrl: require('../assets/img/api-sucess.svg'),
380380
imageWidth: 200,
381381
title: 'Your report is ready:',
382-
footer: "<p class='green-text'>" + res.data.details + "</p>"
382+
html: "<p class='black-text'>" + res.data.details + "</p>"
383383
})
384384
}).catch(err=>{
385385
if(err?.response?.data){

0 commit comments

Comments
 (0)