just fucking work 😭

This commit is contained in:
glitchy 2025-05-22 16:46:21 +00:00
parent 6c38a5034e
commit 28372f0ee3

View file

@ -14,7 +14,7 @@ def get_local_path_from_url(url):
try: try:
idx = parts.index("main") idx = parts.index("main")
relpath = "/".join(parts[idx + 1:]) relpath = "/".join(parts[idx + 1:])
return f"blog/{relpath}" return f"{relpath}"
except ValueError: except ValueError:
return None return None