just fucking work 😭
This commit is contained in:
parent
6c38a5034e
commit
28372f0ee3
|
@ -14,7 +14,7 @@ def get_local_path_from_url(url):
|
|||
try:
|
||||
idx = parts.index("main")
|
||||
relpath = "/".join(parts[idx + 1:])
|
||||
return f"blog/{relpath}"
|
||||
return f"{relpath}"
|
||||
except ValueError:
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in a new issue