mkaczanowski / pastebin

Simple, fast, standalone pastebin service
MIT License
155 stars 27 forks source link

Link to paste doesn't include uri-prefix #32

Closed IvoPo closed 3 years ago

IvoPo commented 3 years ago

Hi there,

when i paste a new note, the msg The paste has been successfully created: with the URL to the paste, does not include the uri-prefix.

i'm running docker-image:latest with: --address 0.0.0.0 --port 8000 --uri="TLD" --uri-prefix="/pastebin" --db=/var/lib/pastebin/ --plugins prism mermaid

o/

arielb2 commented 3 years ago

Hi @IvoPo.

try this --uri="http://fqdn/pastebin"

IvoPo commented 3 years ago

hmm, it didn't work with only --uri before. Now i'm using --uri=https://TLD/pastebin --uri-prefix="/pastebin" and it seems to work fine now, thanks