1 files changed,
1 insertions(+),
1 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-07-23 16:42:12 +0300
Authored at:
2026-07-23 15:34:00 +0300
Change ID:
ywwvqxxoqkpzsqrpuokqlsmvuptknyxl
Parent:
689bbb9
M
internal/plumbing/url/url.go
ยทยทยท 9 9 10 10 type Tool struct{} 11 11 12 -func (Tool) Name() string { return "url(http)" } 12 +func (Tool) Name() string { return "url(http://.*, https://.*)" } 13 13 func (Tool) Match(ctx *viye.Context) bool { 14 14 return strings.HasPrefix(ctx.Path[0], "http://") || strings.HasPrefix(ctx.Path[0], "https://") 15 15 }