artanis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Artanis] [ANN] GNU Artanis 0.4 released!


From: Nala Ginrut
Subject: Re: [Artanis] [ANN] GNU Artanis 0.4 released!
Date: Tue, 15 Oct 2019 11:35:38 +0800
User-agent: mu4e 1.3.2; emacs 26.1

Hi Nikita!

Nikita Vinokurov writes:

> #:scheme key in (redirect-to rc ...) doesn't work anymore. Is it
> normal behavior? (it's still in documentation)

Yes, #:scheme was removed, and I'm sorry to forget to update the manual.

The *path* could be 2 possible patterns:
- URI created by 
[[https://www.gnu.org/software/guile/manual/html_node/URIs.html][string->uri]]. 
For example, src_scheme[:exports code]{(redirect-to rc (string->uri 
"https://nalaginrut.com/feed/atom";))}.
- A relative path which will finally be converted to absolute URL append the 
*host.addr*.
For example, src_scheme[:exports code]{(redirect-to rc "/login")}.

These are recorded in the updated manual, you'll see it later. The new
approach will help you to specify URL scheme like HTTPS.

Best regards.


--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]