aboutsummaryrefslogblamecommitdiffstats
path: root/sample.env
blob: 1eab73812ff0433fe9defe93db1c88c26d5ddcad (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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'