Add a couple more URL patterns to auto-close
- ID
1ac7357- date
2022-03-21 16:41:13+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
6589e23- message
Add a couple more URL patterns to auto-close- changed files
1 file, 5 additions, 1 deletion
Changed files
close_work_tabs (2349) → close_work_tabs (2508)
diff --git a/close_work_tabs b/close_work_tabs
index 3fb3325..e874f09 100755
--- a/close_work_tabs
+++ b/close_work_tabs
@@ -50,7 +50,11 @@ function isSafeToClose(url) {
url.startsWith("https://buildkite.com/wellcomecollection/") ||
url.startsWith("http://localhost:3000/") ||
url.startsWith("https://api.wellcomecollection.org/") ||
- url.startsWith("https://www-stage.wellcomecollection.org/")
+ url.startsWith("https://www-stage.wellcomecollection.org/") ||
+ url.startsWith("https://wellcomecollection.prismic.io") ||
+
+ // Kibana dashboards in Elastic Cloud
+ url.includes(".eu-west-1.aws.found.io:9243/")
) || (
url === 'https://github.com/'
);