mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 11:31:51 +00:00
Add parameter to help with cache
This commit is contained in:
parent
c804cd3b8f
commit
1afd649652
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ function upgrade_check() {
|
|||
hide("#status_box");
|
||||
hide("#server_div");
|
||||
set_status("info", _("Searching for upgrades"), true);
|
||||
fetch(data.url + "/api/versions")
|
||||
fetch(data.url + "/api/versions?v=" + Date.now())
|
||||
.then(response => response.json())
|
||||
.then(response => {
|
||||
var branches = response["branches"]
|
||||
|
@ -348,7 +348,7 @@ function download_image() {
|
|||
}
|
||||
|
||||
function server_request() {
|
||||
fetch(data.url + "/api/build", {
|
||||
fetch(data.url + "/api/build?v=" + Date.now(), {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
|
|
Loading…
Reference in a new issue