summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-14 18:33:42 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-14 18:33:42 +0100
commit7bc954b779a9bc4e1c5e60f2648101c62ed22e72 (patch)
treeb30851324772c14550c0444b7e79e36256f67900 /config
parent53fcf55c02f9335518c28d26429913258fc28f87 (diff)
downloadbar-7bc954b779a9bc4e1c5e60f2648101c62ed22e72.tar
bar-7bc954b779a9bc4e1c5e60f2648101c62ed22e72.tar.gz
bar-7bc954b779a9bc4e1c5e60f2648101c62ed22e72.tar.bz2
bar-7bc954b779a9bc4e1c5e60f2648101c62ed22e72.tar.xz
bar-7bc954b779a9bc4e1c5e60f2648101c62ed22e72.zip
Reference & list
Diffstat (limited to 'config')
-rw-r--r--config/routes6
-rw-r--r--config/settings.yml2
2 files changed, 8 insertions, 0 deletions
diff --git a/config/routes b/config/routes
index 54d6593..08babf4 100644
--- a/config/routes
+++ b/config/routes
@@ -5,3 +5,9 @@
5/inv/#ItemId/open OpenItemR POST 5/inv/#ItemId/open OpenItemR POST
6/inv/#ItemId/delete DeleteItemR POST 6/inv/#ItemId/delete DeleteItemR POST
7/inv/#ItemId ItemR GET PUT PATCH DELETE 7/inv/#ItemId ItemR GET PUT PATCH DELETE
8
9/ref ReferenceListingR GET POST PUT
10/ref/#ReferenceId ReferenceItemR GET PUT PATCH DELETE
11/ref/#ReferenceId/delete DeleteRefItemR POST
12/kinds KindsR GET
13/list ListR GET POST
diff --git a/config/settings.yml b/config/settings.yml
index 83d3bfc..c867908 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -10,6 +10,8 @@ ip-from-header: "_env:IP_FROM_HEADER:false"
10# should-log-all: false 10# should-log-all: false
11# reload-templates: false 11# reload-templates: false
12 12
13thermoprint-url: "_env:TPRINT_BASEURL:http://localhost:3000"
14
13database: 15database:
14 user: "_env:PGUSER:bar" 16 user: "_env:PGUSER:bar"
15 password: "_env:PGPASS:" 17 password: "_env:PGPASS:"