remove /
before publicPath
in .mdoc file?
#330
-
I am trying to use Keystatic along with Astro Collections and Astro's (still experimental) assets feature. In my Keystatic config: collections: {
blog: collection({
// ... other collection config
format: { contentField: 'content' },
schema: {
// ... other schema config
content: fields.document({
// ... other document config
images: {
directory: 'src/assets/uploads/blog',
publicPath: '../../assets/uploads/blog/',
},
}),
},
}),
} This is the result of above configuration: ---
title: A Title
---
This is first line
This is second line
![](/../../assets/uploads/blog/image.jpg) The image's Any way to change this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I have run into this problem as well, @radenpioneer did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
Hey! Update: It's now possible to do this — see comment below 👀
|
Beta Was this translation helpful? Give feedback.
Hey!
Update: It's now possible to do this — see comment below 👀
Unfortunately it's not possible right now, but I'll post an update here if this changes in the future 👍