mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2024-11-26 08:28:19 +01:00
Move style.min.css to css/v1/style.min.css
Trying to break Google App Engine's aggressive caching.
This commit is contained in:
parent
aabb783d99
commit
8f6d337d2d
4
app.yaml
4
app.yaml
@ -2,7 +2,7 @@ runtime: python39
|
||||
entrypoint: gunicorn -b :$PORT main:app
|
||||
|
||||
handlers:
|
||||
- url: /static/css
|
||||
static_dir: static/css
|
||||
- url: /static/css/v1
|
||||
static_dir: static/css/v1
|
||||
http_headers:
|
||||
Cache-Control: private
|
||||
|
@ -10,8 +10,8 @@
|
||||
"sass": "^1.32.7"
|
||||
},
|
||||
"scripts": {
|
||||
"build:css": "sass --style expanded source/scss/style.scss static/css/style.css.tmp && cleancss --level 1 static/css/style.css.tmp -o static/css/style.min.css",
|
||||
"build:css": "sass --style expanded source/scss/style.scss static/css/v1/style.css.tmp && cleancss --level 1 static/css/v1/style.css.tmp -o static/css/v1/style.min.css",
|
||||
"build": "npm run build:css && npm run clean",
|
||||
"clean": "rm static/css/style.css.tmp static/css/style.css.tmp.map"
|
||||
"clean": "rm static/css/v1/style.css.tmp static/css/v1/style.css.tmp.map"
|
||||
}
|
||||
}
|
||||
|
@ -4,5 +4,5 @@
|
||||
<meta name="description" content="Simple web interface for the DSpace CSV Metadata Quality tool.">
|
||||
<meta name="author" content="Alan Orth">
|
||||
<title>DSpace CSV Metadata Quality Checker</title>
|
||||
<link href="{{ url_for('static', filename='css/style.min.css') }}" rel="stylesheet">
|
||||
<link href="{{ url_for('static', filename='css/v1/style.min.css') }}" rel="stylesheet">
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user