Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to visual editing with SSR and firebase hosting #1139

Open
3 tasks done
akmalamka opened this issue Jan 20, 2025 · 0 comments
Open
3 tasks done

Unable to connect to visual editing with SSR and firebase hosting #1139

akmalamka opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@akmalamka
Copy link

akmalamka commented Jan 20, 2025

Version

nuxt: ^3.15.2
nuxtjs/sanity: ^1.13.3
sanity: ^3.67.1

Reproduction

Link:
A minimal Reproduction for Nuxt x Sanity x Firebase Presentation Tool Issue

What is expected?

I am able to change content from deployed sanity studio, in this case https://<my-studio-origin-host>.sanity.studio/presentation

What is actually happening?

Error appear when I access https://<my-studio-origin-host>.sanity.studio/presentation,

Image

Image

Steps to reproduce

  1. Do as in the github repo readme said from the start till the end (up until deploying to firebase)
  2. Open https://<my-studio-origin-host>.sanity.studio/presentation (change my-studio-origin-host based on your project)

Additional information

In local, everything works fine, but after deploying using firebase, the sanity wasn't able to connect to my app :(

Fyi, in the said repo, I make the studio folder to be inside the app folder to mimic my original project. Unfortunately, if we separate the studio and the app, we will also face the same exact issue.

Checklist

  • I have tested with the latest Nuxt version and the issue still occurs
  • I have tested with the latest module version and the issue still occurs
  • I have searched the issue tracker and this issue hasn't been reported yet
@akmalamka akmalamka added the bug Something isn't working label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants