update and debug

2.0
adb-sh 2 years ago
parent c00ecf4b97
commit 84f1d3e22d

@ -76,6 +76,9 @@ http {
error_page 502 = @502; error_page 502 = @502;
location @502 { return 502 '{"status":502,"message":"Bad gateway"}\n'; } location @502 { return 502 '{"status":502,"message":"Bad gateway"}\n'; }
location /mail {
return 302 mailto:info@adb.sh;
}
location / { location / {
index index.html; index index.html;

54
package-lock.json generated

@ -12,14 +12,13 @@
"@vuepress/theme-default": "^1.9.7", "@vuepress/theme-default": "^1.9.7",
"bootstrap": "^5.2.3", "bootstrap": "^5.2.3",
"bootstrap-darkmode": "^5.0.1", "bootstrap-darkmode": "^5.0.1",
"bootstrap-icons": "^1.10.2", "bootstrap-icons": "^1.10.3",
"vuepress-plugin-sitemap": "^2.3.1" "vuepress-plugin-sitemap": "^2.3.1"
}, },
"devDependencies": { "devDependencies": {
"dart-sass": "^1.25.0",
"sass": "^1.54.9", "sass": "^1.54.9",
"sass-loader": "^10.3.1", "sass-loader": "^10.3.1",
"vuepress": "^1.5.3", "vuepress": "^1.9.7",
"webpack": "^4.46.0" "webpack": "^4.46.0"
} }
}, },
@ -3737,9 +3736,9 @@
} }
}, },
"node_modules/bootstrap-icons": { "node_modules/bootstrap-icons": {
"version": "1.10.2", "version": "1.10.3",
"resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.10.2.tgz", "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.10.3.tgz",
"integrity": "sha512-PTPYadRn1AMGr+QTSxe4ZCc+Wzv9DGZxbi3lNse/dajqV31n2/wl/7NX78ZpkvFgRNmH4ogdIQPQmxAfhEV6nA==" "integrity": "sha512-7Qvj0j0idEm/DdX9Q0CpxAnJYqBCFCiUI6qzSPYfERMcokVuV9Mdm/AJiVZI8+Gawe4h/l6zFcOzvV7oXCZArw=="
}, },
"node_modules/boxen": { "node_modules/boxen": {
"version": "4.2.0", "version": "4.2.0",
@ -5409,22 +5408,6 @@
"integrity": "sha512-NJGVKPS81XejHcLhaLJS7plab0fK3slPh11mESeeDq2W4ZI5kUKK/LRRdVDvjJseojbPB7ZwjnyOybg3Igea/A==", "integrity": "sha512-NJGVKPS81XejHcLhaLJS7plab0fK3slPh11mESeeDq2W4ZI5kUKK/LRRdVDvjJseojbPB7ZwjnyOybg3Igea/A==",
"dev": true "dev": true
}, },
"node_modules/dart-sass": {
"version": "1.25.0",
"resolved": "https://registry.npmjs.org/dart-sass/-/dart-sass-1.25.0.tgz",
"integrity": "sha512-syNOAstJXAmvD3RifcDk3fiPMyYE2fY8so6w9gf2/wNlKpG0zyH+oiXubEYVOy1WAWkzOc72pbAxwx+3OU4JJA==",
"deprecated": "This package has been renamed to 'sass'.",
"dev": true,
"dependencies": {
"chokidar": ">=2.0.0 <4.0.0"
},
"bin": {
"dart-sass": "sass.js"
},
"engines": {
"node": ">=8.9.0"
}
},
"node_modules/dashdash": { "node_modules/dashdash": {
"version": "1.14.1", "version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
@ -11708,9 +11691,9 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
}, },
"node_modules/sass": { "node_modules/sass": {
"version": "1.56.2", "version": "1.57.1",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.56.2.tgz", "resolved": "https://registry.npmjs.org/sass/-/sass-1.57.1.tgz",
"integrity": "sha512-ciEJhnyCRwzlBCB+h5cCPM6ie/6f8HrhZMQOf5vlU60Y1bI1rx5Zb0vlDZvaycHsg/MqFfF1Eq2eokAa32iw8w==", "integrity": "sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"chokidar": ">=3.0.0 <4.0.0", "chokidar": ">=3.0.0 <4.0.0",
@ -17941,9 +17924,9 @@
} }
}, },
"bootstrap-icons": { "bootstrap-icons": {
"version": "1.10.2", "version": "1.10.3",
"resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.10.2.tgz", "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.10.3.tgz",
"integrity": "sha512-PTPYadRn1AMGr+QTSxe4ZCc+Wzv9DGZxbi3lNse/dajqV31n2/wl/7NX78ZpkvFgRNmH4ogdIQPQmxAfhEV6nA==" "integrity": "sha512-7Qvj0j0idEm/DdX9Q0CpxAnJYqBCFCiUI6qzSPYfERMcokVuV9Mdm/AJiVZI8+Gawe4h/l6zFcOzvV7oXCZArw=="
}, },
"boxen": { "boxen": {
"version": "4.2.0", "version": "4.2.0",
@ -19302,15 +19285,6 @@
"integrity": "sha512-NJGVKPS81XejHcLhaLJS7plab0fK3slPh11mESeeDq2W4ZI5kUKK/LRRdVDvjJseojbPB7ZwjnyOybg3Igea/A==", "integrity": "sha512-NJGVKPS81XejHcLhaLJS7plab0fK3slPh11mESeeDq2W4ZI5kUKK/LRRdVDvjJseojbPB7ZwjnyOybg3Igea/A==",
"dev": true "dev": true
}, },
"dart-sass": {
"version": "1.25.0",
"resolved": "https://registry.npmjs.org/dart-sass/-/dart-sass-1.25.0.tgz",
"integrity": "sha512-syNOAstJXAmvD3RifcDk3fiPMyYE2fY8so6w9gf2/wNlKpG0zyH+oiXubEYVOy1WAWkzOc72pbAxwx+3OU4JJA==",
"dev": true,
"requires": {
"chokidar": ">=2.0.0 <4.0.0"
}
},
"dashdash": { "dashdash": {
"version": "1.14.1", "version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
@ -24275,9 +24249,9 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
}, },
"sass": { "sass": {
"version": "1.56.2", "version": "1.57.1",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.56.2.tgz", "resolved": "https://registry.npmjs.org/sass/-/sass-1.57.1.tgz",
"integrity": "sha512-ciEJhnyCRwzlBCB+h5cCPM6ie/6f8HrhZMQOf5vlU60Y1bI1rx5Zb0vlDZvaycHsg/MqFfF1Eq2eokAa32iw8w==", "integrity": "sha512-O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==",
"dev": true, "dev": true,
"requires": { "requires": {
"chokidar": ">=3.0.0 <4.0.0", "chokidar": ">=3.0.0 <4.0.0",

@ -13,10 +13,9 @@
"build": "vuepress build src" "build": "vuepress build src"
}, },
"devDependencies": { "devDependencies": {
"dart-sass": "^1.25.0",
"sass": "^1.54.9", "sass": "^1.54.9",
"sass-loader": "^10.3.1", "sass-loader": "^10.3.1",
"vuepress": "^1.5.3", "vuepress": "^1.9.7",
"webpack": "^4.46.0" "webpack": "^4.46.0"
}, },
"dependencies": { "dependencies": {
@ -24,7 +23,7 @@
"@vuepress/theme-default": "^1.9.7", "@vuepress/theme-default": "^1.9.7",
"bootstrap": "^5.2.3", "bootstrap": "^5.2.3",
"bootstrap-darkmode": "^5.0.1", "bootstrap-darkmode": "^5.0.1",
"bootstrap-icons": "^1.10.2", "bootstrap-icons": "^1.10.3",
"vuepress-plugin-sitemap": "^2.3.1" "vuepress-plugin-sitemap": "^2.3.1"
} }
} }

@ -34,7 +34,7 @@ export default {
).then(data => data.json()); ).then(data => data.json());
} }
}, },
async created() { async mounted() {
this.currentlyPlaying = (await this.fetchMusicInfo().catch(noob))?.currentlyPlaying; this.currentlyPlaying = (await this.fetchMusicInfo().catch(noob))?.currentlyPlaying;
updateMusicInfo = setInterval(async () => { updateMusicInfo = setInterval(async () => {
this.currentlyPlaying = (await this.fetchMusicInfo().catch(noob))?.currentlyPlaying; this.currentlyPlaying = (await this.fetchMusicInfo().catch(noob))?.currentlyPlaying;

Loading…
Cancel
Save