sveltia / sveltia-cms

Alternative to Netlify/Decap CMS. Fast, lightweight, Git-based headless CMS. Modern UX, first-class i18n support, open source & free. Made with Svelte.
MIT License
750 stars 34 forks source link

The configured proxy backend is not supported #69

Closed zanhk closed 8 months ago

zanhk commented 8 months ago

First of all I just found this repo and I think it's a very cool project.

image

I'm trying to access the admin ui on localhost.

The configuration that I m using is this one https://github.com/zankhq/astro-starter/tree/chore/sveltia/public/admin

Probably is just me not reading the full documentation but do you have an idea of what I am doing wrong?

I get the error with both local_backend property set or not

kyoshino commented 8 months ago

Thanks for checking out Sveltia CMS! I think it’s a simple bug in Sveltia. Will take a look now.

zanhk commented 8 months ago

@kyoshino thanks if you need help to debug or test I have the repo open I can try help you

kyoshino commented 8 months ago

The fix deployed! Please reload the app and try again.

zanhk commented 8 months ago

Awesome it worked thanks, you should add a donation button

kyoshino commented 8 months ago

Thanks for your confirmation! I’ve just added a sponsor link (again) to the repo πŸ˜†

kyoshino commented 8 months ago

Thank you πŸ™πŸΌ πŸ™πŸΌ πŸ™πŸΌ

eur2 commented 8 months ago

@zanhk Great repo! Is Astro working well with SveltiaCMS and content in markdown, especially with images? It seems that your images are optimized by Astro right? But they don't have a relative path in your markdown but still working?

zanhk commented 8 months ago

@eur2 thanks, was about to open an issue about that, it works great with decap cms but seem there is a problem here where the image get prepended by a "/", I've created this issue https://github.com/sveltia/sveltia-cms/issues/72

eur2 commented 8 months ago

@zanhk Good to know because with netlify-cms, the image wasn't using relative path in markdown. So Astro couldn't optimize them.