mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +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…
	
	Add table
		Add a link
		
	
		Reference in a new issue