heatmap stuff
This commit is contained in:
@@ -124,6 +124,19 @@ function lDateString(date) {
|
||||
return string;
|
||||
}
|
||||
|
||||
// get configuration json files, will be used in initialize function
|
||||
let get_receiver_defer = $.ajax({ url: 'data/receiver.json',
|
||||
cache: false,
|
||||
dataType: 'json',
|
||||
timeout: 5000,
|
||||
});
|
||||
let test_chunk_defer = $.ajax({
|
||||
url:'chunks/chunks.json',
|
||||
cache: false,
|
||||
dataType: 'json',
|
||||
timeout: 4000,
|
||||
});
|
||||
|
||||
|
||||
if (!heatmap) {
|
||||
heatmapDefer.resolve();
|
||||
@@ -171,19 +184,6 @@ if (!heatmap) {
|
||||
}
|
||||
}
|
||||
|
||||
// get configuration json files, will be used in initialize function
|
||||
let get_receiver_defer = $.ajax({ url: 'data/receiver.json',
|
||||
cache: false,
|
||||
dataType: 'json',
|
||||
timeout: 5000,
|
||||
});
|
||||
let test_chunk_defer = $.ajax({
|
||||
url:'chunks/chunks.json',
|
||||
cache: false,
|
||||
dataType: 'json',
|
||||
timeout: 4000,
|
||||
});
|
||||
|
||||
if (uuid != null) {
|
||||
get_receiver_defer = null;
|
||||
receiverJson = null;
|
||||
|
||||
@@ -21,11 +21,6 @@ location /INSTANCE/data/ {
|
||||
add_header Cache-Control "public, max-age=0";
|
||||
add_header Content-Encoding "gzip";
|
||||
}
|
||||
location /INSTANCE/data/heatmap/ {
|
||||
gzip off;
|
||||
add_header Cache-Control "public, max-age=5";
|
||||
add_header Content-Encoding "gzip";
|
||||
}
|
||||
}
|
||||
|
||||
location /INSTANCE/globe_history/ {
|
||||
|
||||
Reference in New Issue
Block a user