summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhorus_arch2015-04-21 01:47:42 +0200
committerhorus_arch2015-04-21 01:47:42 +0200
commitb3fa125ed0292f8ca37e91bf19c8cae7cdacc506 (patch)
tree61079b97ed26bf4c9483eb14dee7205c3c349b90 /config
parent01e9a34952bd6ddd383680b0ca2312e476ad07a6 (diff)
downloadmandible-b3fa125ed0292f8ca37e91bf19c8cae7cdacc506.tar.gz
Add API documentation and better defaults.
Diffstat (limited to 'config')
-rw-r--r--config/conf.json_14
-rw-r--r--config/default.conf.json2
2 files changed, 1 insertions, 15 deletions
diff --git a/config/conf.json_ b/config/conf.json_
deleted file mode 100644
index a03249e..0000000
--- a/config/conf.json_
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "Port": 8080,
- "MaxFileSize": 20971520,
- "HashLength": 7,
- "UserAgent": "Mandible",
- "Stores" : [
- {
- "Type" : "local",
- "StoreRoot": "/home/horus/projects/golang/src/mandible/files",
- "NamePathRegex" : "^([a-zA-Z0-9])([a-zA-Z0-9]).*",
- "NamePathMap" : "${ImageSize}/${1}/${2}/${ImageName}"
- }
- ]
-}
diff --git a/config/default.conf.json b/config/default.conf.json
index 0372b3d..2b7520e 100644
--- a/config/default.conf.json
+++ b/config/default.conf.json
@@ -2,7 +2,7 @@
"Port": 8080,
"MaxFileSize": 20971520,
"HashLength": 7,
- "UserAgent": "ImgurGo (https://github.com/gophergala/ImgurGo)",
+ "UserAgent": "Mandible",
"Stores" : [
{
"Type" : "local",