aboutsummaryrefslogtreecommitdiff
path: root/ci/container/config-templates/SimpleBookmark-template.json
diff options
context:
space:
mode:
Diffstat (limited to 'ci/container/config-templates/SimpleBookmark-template.json')
-rw-r--r--ci/container/config-templates/SimpleBookmark-template.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/ci/container/config-templates/SimpleBookmark-template.json b/ci/container/config-templates/SimpleBookmark-template.json
index a64a10a..c2bf780 100644
--- a/ci/container/config-templates/SimpleBookmark-template.json
+++ b/ci/container/config-templates/SimpleBookmark-template.json
@@ -14,6 +14,21 @@
}
},
+ //System website lookup endpoint (aka curl)
+ "curl": {
+ "path": "/api/lookup",
+ "exe_path": "curl", //Path to the curl executable
+ "extra_args": [
+ "--globoff", //Disables unsafe url globbing
+ "--no-keepalive", //Disables keepalive, uneeded for a single lookup request
+ "--max-filesize",
+ "100K", //Max file size 100K
+ "--max-redirs",
+ "5", //Max redirects 5
+ "--location", //Follow redirects
+ ]
+ },
+
"registration": {
"path": "/api/register", //Path for the registration endpoint
"token_lifetime_mins": ${REG_TOKEN_DURATION_MIN}, //Token lifetime in minutes