Added link shortener feature.
Now app can either handle pastes or shorten links, but not both.
This commit is contained in:
7
app.ini
7
app.ini
@@ -1,15 +1,14 @@
|
||||
[app]
|
||||
; either "paste" or "shortener"
|
||||
; reserved for future releases, not used
|
||||
; either "paste" or "short"
|
||||
type = paste
|
||||
; relative path to application, as it seen in browser
|
||||
; must end with '/'
|
||||
baseurl = /
|
||||
; if you decide to put images|css on separate domain, write it here
|
||||
; or leave it same as siteaddress
|
||||
; for now it is only /bg_logo.png
|
||||
; for now it is only /bg_logo.png for paste and /logo.png for link shortener
|
||||
cdnaddress = http://127.0.0.1/
|
||||
; hostname where app lives, with http(s) prefix
|
||||
siteaddress = http://127.0.0.1/
|
||||
; path, where db created|stored, if not exist, it will be created
|
||||
dbpath = paste/paste.sqlite
|
||||
dbpath = data/db.sqlite
|
||||
|
||||
Reference in New Issue
Block a user