summaryrefslogtreecommitdiff
path: root/config/conf.json_
diff options
context:
space:
mode:
Diffstat (limited to 'config/conf.json_')
-rw-r--r--config/conf.json_14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/conf.json_ b/config/conf.json_
new file mode 100644
index 0000000..a03249e
--- /dev/null
+++ b/config/conf.json_
@@ -0,0 +1,14 @@
+{
+ "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}"
+ }
+ ]
+}