From 7e2187285dd58591cd07aa948cf3001cffe3ff29 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 3 Jul 2023 13:40:30 +0200 Subject: adding lincence, and some other useful stuff --- sample.env | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sample.env (limited to 'sample.env') diff --git a/sample.env b/sample.env new file mode 100644 index 0000000..1eab738 --- /dev/null +++ b/sample.env @@ -0,0 +1,16 @@ +# Sample .env-file +# Put your .env-file right next to your purl-rs binary + +# DATABASE_URL - database details +#DATABASE_URL='postgresql://purl-rs:password@host.example.com/purl-rs' +DATABASE_URL='postgresql://localhost/purl-rs' + +# SHORT_URI_PREFIX - what separates host and the short. I.e. '/+' in the +# shortened url "example.com/+r83M" +SHORT_URI_PREFIX='/+' + +# FORM_URI - path that should display the form +FORM_URI='/form' + +# CREATE_URI - path to send requests to create shortened urls +CREATE_URI='/create' -- cgit v1.2.3