summaryrefslogtreecommitdiff
path: root/config/default.conf.json
diff options
context:
space:
mode:
authorhorus_arch2015-04-19 22:09:52 +0200
committerhorus_arch2015-04-19 22:09:52 +0200
commit01e9a34952bd6ddd383680b0ca2312e476ad07a6 (patch)
tree00902575e5c271cc5d35ea65aa8795b8caeb97bc /config/default.conf.json
downloadmandible-01e9a34952bd6ddd383680b0ca2312e476ad07a6.tar.gz
Initial commit.
Diffstat (limited to 'config/default.conf.json')
-rw-r--r--config/default.conf.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/default.conf.json b/config/default.conf.json
new file mode 100644
index 0000000..0372b3d
--- /dev/null
+++ b/config/default.conf.json
@@ -0,0 +1,14 @@
+{
+ "Port": 8080,
+ "MaxFileSize": 20971520,
+ "HashLength": 7,
+ "UserAgent": "ImgurGo (https://github.com/gophergala/ImgurGo)",
+ "Stores" : [
+ {
+ "Type" : "local",
+ "StoreRoot": "/Users/jarvis/imagestore",
+ "NamePathRegex" : "^([a-zA-Z0-9])([a-zA-Z0-9]).*",
+ "NamePathMap" : "${ImageSize}/${1}/${2}/${ImageName}"
+ }
+ ]
+}