update shorturl to use badgerhold
This commit is contained in:
@@ -43,6 +43,11 @@ Config:
|
||||
var defaultConfig = `
|
||||
[http]
|
||||
listen = ":9010"
|
||||
base_url = "https//paste.dn42.us"
|
||||
cors = [
|
||||
"http://localhost",
|
||||
"https://sour.is",
|
||||
]
|
||||
|
||||
[module.paste]
|
||||
random = "4096"
|
||||
@@ -55,7 +60,9 @@ store = "data/artifact"
|
||||
store = "data/image"
|
||||
|
||||
[module.short]
|
||||
store = "data/meta.db"
|
||||
index = "data/meta"
|
||||
value = "data/meta"
|
||||
|
||||
`
|
||||
|
||||
var args map[string]interface{}
|
||||
|
||||
Reference in New Issue
Block a user