diff options
| author | horus_arch | 2015-04-21 01:47:42 +0200 |
|---|---|---|
| committer | horus_arch | 2015-04-21 01:47:42 +0200 |
| commit | b3fa125ed0292f8ca37e91bf19c8cae7cdacc506 (patch) | |
| tree | 61079b97ed26bf4c9483eb14dee7205c3c349b90 /config | |
| parent | 01e9a34952bd6ddd383680b0ca2312e476ad07a6 (diff) | |
| download | mandible-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.json | 2 |
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", |
