Skip to content

Commit 5247682

Browse files
fix: links changing the source url, making historical pages 404's
1 parent 30557ab commit 5247682

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cynthia_websites_mini_client/src/cynthia_websites_mini_client/pottery/markdown_renders_ffi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function custom_render(
2323
!current_token.attrs[0][1].startsWith(phone_home_url() + "#")
2424
) {
2525
const original_href: string = current_token.attrs[0][1];
26-
const new_href: string = "/#" + original_href;
26+
const new_href: string = phone_home_url() + "#" + original_href;
2727
current_token.attrs[0][1] = new_href;
2828
// console.log(original_href + " -> " + current_token.attrs[0][1]);
2929
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cynthiaweb/cynthiaweb-mini",
3-
"version": "1.0.5",
3+
"version": "1.0.6-pre.2",
44
"license": "AGPL-3.0-only",
55
"repository": {
66
"url": "https://github.com/CynthiaWebsiteEngine/Mini"

0 commit comments

Comments
 (0)