diff options
Diffstat (limited to 'sample.env')
-rw-r--r-- | sample.env | 16 |
1 files changed, 16 insertions, 0 deletions
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' |