diff options
Diffstat (limited to '.changeset/sixty-oranges-walk.md')
-rw-r--r-- | .changeset/sixty-oranges-walk.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.changeset/sixty-oranges-walk.md b/.changeset/sixty-oranges-walk.md new file mode 100644 index 000000000..ef3e14a7e --- /dev/null +++ b/.changeset/sixty-oranges-walk.md @@ -0,0 +1,7 @@ +--- +'astro': patch +--- + +Resolves image paths in content layer with initial slash as project-relative + +When using the `image()` schema helper, previously paths with an initial slash were treated as public URLs. This was to match the behavior of markdown images. However this is a change from before, where paths with an initial slash were treated as project-relative. This change restores the previous behavior, so that paths with an initial slash are treated as project-relative. |