mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-10-10 08:18:24 +03:00
Bump minimum supported version to 3.8 since 3.6 is years past support and hasn't been tested in any production instances I know of for years.
This commit is contained in:
@@ -17,7 +17,7 @@ server {
|
||||
|
||||
location ^~ /static/ {
|
||||
include /etc/nginx/mime.types;
|
||||
root /path/to/your/virtualenv/lib/python3.6/site-packages/bemani/frontend/;
|
||||
root /path/to/your/virtualenv/lib/python3.8/site-packages/bemani/frontend/;
|
||||
}
|
||||
|
||||
location ^~ /jsx/ {
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
# warm the cache. Note that this isn't necessary if you are compiling
|
||||
# JSX files for static serving via nginx.
|
||||
|
||||
cd /path/to/your/virtualenv/lib/python3.6/site-packages/bemani/frontend/static
|
||||
cd /path/to/your/virtualenv/lib/python3.8/site-packages/bemani/frontend/static
|
||||
for url in $(find -name "*.react.js" | sed 's,^\.,https://your-domain.com/jsx,'); do
|
||||
echo "Priming $url..."
|
||||
curl $url --silent -H 'Cache-Control: no-cache' > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user