|
Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes. Set by lizmat on 24 May 2021. |
|||
| disbot10 | <simon_sibl> with Harc, how do I add route to allow download files ? because I succeed to add the link but then I get a 403 forbidden (so to allow while still preventing people from manipulating the url and get ../../../../../etc/foobar) | 04:12 | |
|
07:35
Geth joined
13:48
librasteve_ joined
|
|||
| librasteve_ | my recommendation for adding downloads in a Harc app is to make a new component with a download method | 13:48 | |
| kinda like this (from the harcstack.org website / Air::Examples www.irccloud.com/pastebin/pMDIrWAd | 13:58 | ||
| since you are anyway in Cro you can alternatively make a Cro route (in a route block of course) | 13:59 | ||