mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 09:49:14 +02:00
Added shlink integration
This commit is contained in:
parent
ebe275d509
commit
0808052acf
10 changed files with 215 additions and 2 deletions
|
@ -274,6 +274,17 @@ dir = PATH "data"
|
|||
;version = "latest"
|
||||
;bucket = "my-bucket"
|
||||
|
||||
;[shlink]
|
||||
; - Shlink requires you to make a post call with a generated API key.
|
||||
; use this section to setup the API key and URL. In order to use this section,
|
||||
; "urlshortener" needs to point to the base URL of your PrivateBin
|
||||
; instance with "?shortenviashlink&link=" appended. For example:
|
||||
; urlshortener = "${basepath}?shortenviashlink&link="
|
||||
; This URL will in turn call YOURLS on the server side, using the URL from
|
||||
; "apiurl" and the API Key from the "apikey" parameters below.
|
||||
; apiurl = "https://shlink.example.com/rest/v3/short-urls"
|
||||
; apikey = "your_api_key"
|
||||
|
||||
;[yourls]
|
||||
; When using YOURLS as a "urlshortener" config item:
|
||||
; - By default, "urlshortener" will point to the YOURLS API URL, with or without
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue