diff options
author | Dennis Eriksen <d@ennis.no> | 2023-07-03 13:40:30 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-07-03 13:40:30 +0200 |
commit | 7e2187285dd58591cd07aa948cf3001cffe3ff29 (patch) | |
tree | ecb750727da84a73b7dba77f9b7c132cfb31d829 /sample.env | |
parent | Changing name to purl-rs (diff) | |
download | purl-rs-7e2187285dd58591cd07aa948cf3001cffe3ff29.tar.gz |
adding lincence, and some other useful stuff
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' |