Bump version to 0.1.2-test

This commit is contained in:
Fred Boniface 2023-02-13 20:47:33 +00:00
parent 463ce3bb23
commit 5aad9246ba
3 changed files with 8 additions and 4 deletions

View File

@ -22,6 +22,10 @@ http {
proxy_cache_path /var/cache/nginx keys_zone=owl_cache:20m inactive=24h; proxy_cache_path /var/cache/nginx keys_zone=owl_cache:20m inactive=24h;
upstream backend {
server owlboard-backend:8460;
}
server { server {
listen 80; listen 80;
server_name localhost; server_name localhost;
@ -40,7 +44,7 @@ http {
} }
location /api/ { location /api/ {
proxy_pass http://backend:8460; proxy_pass http://backend;
proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control; proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 2m; # Evaluate whether 2m or 1m is more appropriate proxy_cache_valid 200 2m; # Evaluate whether 2m or 1m is more appropriate
@ -49,7 +53,7 @@ http {
} }
location /api/v1/list/ { location /api/v1/list/ {
proxy_pass http://backend:8460; proxy_pass http://backend;
proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_cache_key $scheme://$host$uri$is_args$query_string;
proxy_ignore_headers Cache-Control; proxy_ignore_headers Cache-Control;
proxy_cache_valid 200 10080m; proxy_cache_valid 200 10080m;

View File

@ -64,7 +64,7 @@
</div> </div>
<!-- Footer --> <!-- Footer -->
<footer> <footer>
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - 0.0.3</p> <p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - 0.1.2-test</p>
</footer> </footer>
</body> </body>
</html> </html>

2
sw.js
View File

@ -1,6 +1,6 @@
/* Service Worker */ /* Service Worker */
const appVersion = "0.0.3" const appVersion = "0.1.2-test"
const cacheName = `owlboard-${appVersion}` const cacheName = `owlboard-${appVersion}`
const cacheIDs = [cacheName] const cacheIDs = [cacheName]
const cacheFiles = [ const cacheFiles = [