diff --git a/pict-rs.toml b/pict-rs.toml index 0e03127..d638b37 100644 --- a/pict-rs.toml +++ b/pict-rs.toml @@ -674,4 +674,9 @@ client_timeout = 30 # Note that in order for clients to fetch media from this URL directly, any server between the # client and pict-rs must not be configured to follow redirects, or else that server will fetch from # this public URL and serve the file itself. -public_endpoint = "https://pict-rs.some.cdn.example.com" +# +# Note also that if a a path is to be included in the URL, it must have a trailing slash or else it +# will be overwritten by the filepath. +# e.g. https://example.com/sub/path will turn into https://example.com/sub/001/001/UUID +# while https://example.com/sub/path/ will turn into https://example.com/sub/path/001/001/UUID +public_endpoint = "https://pict-rs.some.cdn.example.com/subpath/"