mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
use relative paths for reverse proxy
This commit is contained in:
@@ -33,7 +33,7 @@ function versionUpdateUI(){
|
||||
// Checks if a new version is available via the global app_state.json
|
||||
function checkIfNewVersionAvailable()
|
||||
{
|
||||
$.get('/php/server/query_json.php', { file: 'app_state.json', nocache: Date.now() }, function(appState) {
|
||||
$.get('php/server/query_json.php', { file: 'app_state.json', nocache: Date.now() }, function(appState) {
|
||||
|
||||
// console.log(appState["isNewVersionChecked"])
|
||||
// console.log(appState["isNewVersion"])
|
||||
@@ -48,4 +48,4 @@ function checkIfNewVersionAvailable()
|
||||
}
|
||||
|
||||
// handle the dispaly of the NEW icon
|
||||
checkIfNewVersionAvailable()
|
||||
checkIfNewVersionAvailable()
|
||||
|
||||
Reference in New Issue
Block a user