[go: nahoru, domu]

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

transform function doesnt work with firebase emulator in demo mode #215

Open
sacrosanctic opened this issue Jun 21, 2024 · 0 comments
Open

Comments

@sacrosanctic
Copy link
sacrosanctic commented Jun 21, 2024

describe the problem

The URL used to call the transform fn is not correct. This extension will continue to call the remote project rather than the local demo porject.

const response = await fetch(`https://${ config.location }-${ config.projectId }.cloudfunctions.net/${ config.transformFunction }`, {

references

https://firebase.google.com/docs/emulator-suite/install_and_configure#use_the_emulator_hub_rest_api

https://firebase.google.com/docs/emulator-suite/use_extensions

Project IDs for demo projects have the demo- prefix.

https://firebase.google.com/docs/functions/local-emulator#instrument_your_app_for_https_functions_emulation

https://localhost:5001/$PROJECT/us-central1/helloWorld

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant