summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
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:"