Skip to content

Commit a5618a8

Browse files
fix plugins
1 parent 7870384 commit a5618a8

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

asset-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"files": {
33
"main.css": "/static/css/main.a3dbeddd.css",
4-
"main.js": "/static/js/main.f7a7b987.js",
4+
"main.js": "/static/js/main.460b0b8f.js",
55
"static/media/roboto-all-500-normal.woff": "/static/media/roboto-all-500-normal.0ab669b7a0d19b178f57.woff",
66
"static/media/roboto-all-700-normal.woff": "/static/media/roboto-all-700-normal.a457fde362a540fcadff.woff",
77
"static/media/roboto-all-400-normal.woff": "/static/media/roboto-all-400-normal.c5d001fa922fa66a147f.woff",
@@ -36,10 +36,10 @@
3636
"static/media/roboto-greek-ext-700-normal.woff2": "/static/media/roboto-greek-ext-700-normal.bd9854c751441ccc1a70.woff2",
3737
"index.html": "/index.html",
3838
"main.a3dbeddd.css.map": "/static/css/main.a3dbeddd.css.map",
39-
"main.f7a7b987.js.map": "/static/js/main.f7a7b987.js.map"
39+
"main.460b0b8f.js.map": "/static/js/main.460b0b8f.js.map"
4040
},
4141
"entrypoints": [
4242
"static/css/main.a3dbeddd.css",
43-
"static/js/main.f7a7b987.js"
43+
"static/js/main.460b0b8f.js"
4444
]
4545
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Pioreactor"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.f7a7b987.js"></script><link href="/static/css/main.a3dbeddd.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Pioreactor"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.460b0b8f.js"></script><link href="/static/css/main.a3dbeddd.css" rel="stylesheet"></head><body><div id="root"></div></body></html>

pioreactorui/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def get_automation_contrib(automation_type: str) -> ResponseReturnValue:
944944
response=current_app.json.dumps(list(parsed_yaml.values())),
945945
status=200,
946946
mimetype="application/json",
947-
headers={"Cache-Control": "public,max-age=10"},
947+
headers={"Cache-Control": "public,max-age=/"},
948948
)
949949
except Exception as e:
950950
publish_to_error_log(str(e), "get_automation_contrib")
@@ -1727,9 +1727,9 @@ def get_list_of_units() -> ResponseReturnValue:
17271727
# Get a list of all units (workers + leader)
17281728
all_units = query_app_db(
17291729
f"""SELECT DISTINCT pioreactor_unit FROM (
1730-
SELECT pioreactor_unit FROM workers
1731-
UNION
17321730
SELECT "{get_leader_hostname()}" AS pioreactor_unit
1731+
UNION
1732+
SELECT pioreactor_unit FROM workers
17331733
);"""
17341734
)
17351735
return jsonify(all_units)
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)