From 7bc954b779a9bc4e1c5e60f2648101c62ed22e72 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 14 Mar 2017 18:33:42 +0100 Subject: Reference & list --- config/routes | 6 ++++++ config/settings.yml | 2 ++ 2 files changed, 8 insertions(+) (limited to 'config') diff --git a/config/routes b/config/routes index 54d6593..08babf4 100644 --- a/config/routes +++ b/config/routes @@ -5,3 +5,9 @@ /inv/#ItemId/open OpenItemR POST /inv/#ItemId/delete DeleteItemR POST /inv/#ItemId ItemR GET PUT PATCH DELETE + +/ref ReferenceListingR GET POST PUT +/ref/#ReferenceId ReferenceItemR GET PUT PATCH DELETE +/ref/#ReferenceId/delete DeleteRefItemR POST +/kinds KindsR GET +/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" # should-log-all: false # reload-templates: false +thermoprint-url: "_env:TPRINT_BASEURL:http://localhost:3000" + database: user: "_env:PGUSER:bar" password: "_env:PGPASS:" -- cgit v1.2.3