Skip to content

Use relative links for uploaded files#388

Merged
kevinmcconnell merged 1 commit intomainfrom
relative-upload-links
Jan 16, 2026
Merged

Use relative links for uploaded files#388
kevinmcconnell merged 1 commit intomainfrom
relative-upload-links

Conversation

@kevinmcconnell
Copy link
Copy Markdown
Collaborator

Previously, uploading a file would generate an absolute URL, which then becomes part of the Markdown source. This creates problems if a site moves to a different hostname later, because all those absolute URL references in the Markdown content will now be wrong.

Instead, we should use relative URLs for these links, so they remain portable.

/cc @rosa

Previously, uploading a file would generate an absolute URL, which then
becomes part of the Markdown source. This creates problems if a site
moves to a different hostname later, because all those absolute URL
references in the Markdown content will now be wrong.

Instead, we should use relative URLs for these links, so they remain
portable.
@kevinmcconnell kevinmcconnell merged commit c5ad495 into main Jan 16, 2026
@kevinmcconnell kevinmcconnell deleted the relative-upload-links branch January 16, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant