Closed dallyh closed 3 months ago
You mean, you’d like to use a remote backend from the local instance? There is a manual workaround for it:
sveltia-cms.user
, value: {"backendName":"github"}
This allows you to sign in to GitHub. If it doesn’t work,
sveltia-cms.user
local storage value with an API tokensveltia-cms.user
, value: (copied value)Well, so I think Sveltia CMS should provide 2 options on the sign in page, Local or GitHub, so you don’t have to do this manually 🙂
You can disable automatic deployments with the backend config.
Hello, I would like to simply disable the local backend when testing live previews of a site, and also to test automatic deployments etc while running the live site preview. I've searched through the source code, and this is currently possible but with workarounds, because local backend is getting detected by the
localhost
URL: https://github.com/sveltia/sveltia-cms/blob/51f56d7803ed426bd0e0cc487a649e9c7ffc4e20/src/lib/services/user.js#L77-L85Thanks!
PS. I hope I've pointed to the correct code :)