Skip to content

Commit

Permalink
a version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jvo203 committed Apr 8, 2024
1 parent 5208fd8 commit 343e8fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [5.1.6] - 2024-04-??
## [5.1.6] - 2024-04-08

* reduced the long-poll interval for the image/spectrum from 500ms to 250ms
* coalesced the WebGL GLSL shaders into a single LZ4-compressed file (164kB down to 26kB), significantly cutting the number of HTTP requests to the CDN
Expand Down
3 changes: 1 addition & 2 deletions src/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -4754,9 +4754,8 @@ static enum MHD_Result execute_alma(struct MHD_Connection *connection, char **va
}
else
{
g_string_append(html, "<script src=\"fitswebqlse.js?" VERSION_STRING "\"></script>\n"); // testing
// server version: use automatically minified files served from the CDN
// g_string_append(html, "<script src=\"https://cdn.jsdelivr.net/gh/jvo203/FITSWEBQLSE@" STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_SUB) "/htdocs/fitswebql/fitswebqlse.min.js\"></script>\n");
g_string_append(html, "<script src=\"https://cdn.jsdelivr.net/gh/jvo203/FITSWEBQLSE@" STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_SUB) "/htdocs/fitswebql/fitswebqlse.min.js\"></script>\n");
g_string_append(html, "<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/jvo203/FITSWEBQLSE@" STR(VERSION_MAJOR) "." STR(VERSION_MINOR) "." STR(VERSION_SUB) "/htdocs/fitswebql/fitswebqlse.min.css\"/>\n");
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 1
#define VERSION_SUB 5
#define VERSION_SUB 6

#define STR_HELPER(x) #x
#define STR(x) STR_HELPER(x)
Expand Down

0 comments on commit 343e8fa

Please sign in to comment.