Issue with API URL corrected.

This commit is contained in:
Félix Aime 2021-02-19 13:33:02 +01:00
parent 8d64b3bc9a
commit 6350241a35

View File

@ -24,7 +24,7 @@
}, },
methods: { methods: {
check_update: function() { check_update: function() {
axios.get('/api/update/check-version', { timeout: 60000 }) axios.get('/api/update/get-version', { timeout: 60000 })
.then(response => { .then(response => {
if(response.data.status) { if(response.data.status) {
if(response.data.current_version == window.next_version){ if(response.data.current_version == window.next_version){