00:08
MasterDuke left
00:18
patrickb left
00:24
JRaspass left
00:30
Altai-man_ left
00:36
sena_kun joined
01:54
cog_ joined
01:57
cog__ left
02:37
Xliff joined
|
|||||||||||||||||||||||||||||||||||||||
Xliff | \o | 02:38 | |||||||||||||||||||||||||||||||||||||
tellable6 | 2021-02-05T08:22:40Z #raku <jmerelo> Xliff I'm sure finanalyst does not mind. Please add yourself as a mentor, if you want making a reference to @finanalyst so that he knows. | ||||||||||||||||||||||||||||||||||||||
Xliff | jnthn, sena-kun: What's the best way to have a route alias another route in Cro::HTTP::Router? | ||||||||||||||||||||||||||||||||||||||
For example, I want the default route for my service to be /this/month, so that a call to 'my,webserve/' is functionally the same as 'http:/my.webserv/this/month' | 02:40 | ||||||||||||||||||||||||||||||||||||||
How can I do that with Cro::HTTP::Router? | |||||||||||||||||||||||||||||||||||||||
03:33
Xliff left
10:16
[Tux] left
10:19
[Tux] joined
10:23
MasterDuke joined
11:47
JRaspass joined
12:57
MasterDuke left
|
|||||||||||||||||||||||||||||||||||||||
moritz | .tell xliff you can simply have the handler be a function, and call that in two routes: get -> '' { your_handler() }; get -> 'this', 'month' { your_handler }; | 13:05 | |||||||||||||||||||||||||||||||||||||
tellable6 | moritz, I'll pass your message to Xliff | ||||||||||||||||||||||||||||||||||||||
moritz | .tell Xliff maybe you can also use a junction for the path, haven't tried that though | ||||||||||||||||||||||||||||||||||||||
tellable6 | moritz, I'll pass your message to Xliff | ||||||||||||||||||||||||||||||||||||||
13:56
MasterDuke joined
14:00
JRaspass left
14:19
lucasb joined
15:20
Xliff joined
|
|||||||||||||||||||||||||||||||||||||||
[Tux] |
|
15:20 | |||||||||||||||||||||||||||||||||||||
15:44
JRaspass joined
15:47
pheix joined
16:06
JRaspass left
16:57
MasterDuke left
17:00
pheix left
17:09
MasterDuke joined
17:18
Xliff_ joined
17:20
JRaspass joined
17:21
Xliff left
18:03
b2gills left
18:21
JRaspass left
19:29
b2gills joined
20:04
JRaspass joined
20:12
patrickb joined
20:30
Xliff_ left
20:43
MasterDuke left
21:34
MasterDuke joined
23:48
patrickb left
|