Skip to content

Commit e12931c

Browse files
authored
Merge pull request #100 from rileychh/fix-url-construction
2 parents 485759e + 0a1045a commit e12931c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/websites.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def get_repl(self, route: str, match: re.Match[str]) -> str:
213213
query_string_repl = '?' + '&'.join(rf"{param}=\g<{param}>" for param in params)
214214

215215
return (
216-
"https" if self.is_ssl else "http"
216+
("https" if self.is_ssl else "http")
217217
+ "://{domain}"
218218
+ route_repl
219219
+ "{post_path_segments}"

0 commit comments

Comments
 (0)