Fix redirection pattern
Commit 6ea0586423
improved redirection
instructions, but regressed in one way. The "Redirect to" pattern
specified a slash which was accounted for in the main pattern, which
resulted in a double slash:
https://medium.com/@user/post-123456abcdef
would redirect to
https://scribe.rip//@user/post-123456abcdef
This removes the extra slash
This commit is contained in:
parent
fb51270f87
commit
80b6b51804
3 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2022-03-12
|
||||||
|
|
||||||
|
* Fix redirection pattern
|
||||||
|
|
||||||
2022-02-13
|
2022-02-13
|
||||||
|
|
||||||
* Better article ID parsing
|
* Better article ID parsing
|
||||||
|
|
|
@ -40,7 +40,7 @@ class Faq::IndexPage < MainLayout
|
||||||
strong "Redirect to: "
|
strong "Redirect to: "
|
||||||
code "https://"
|
code "https://"
|
||||||
code app_domain
|
code app_domain
|
||||||
code "/$2"
|
code "$2"
|
||||||
end
|
end
|
||||||
li do
|
li do
|
||||||
strong "Pattern type: "
|
strong "Pattern type: "
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module Scribe
|
module Scribe
|
||||||
VERSION = "2022-02-13"
|
VERSION = "2022-03-12"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue