Issue with API URL corrected.
This commit is contained in:
parent
8d64b3bc9a
commit
6350241a35
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user