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
Angular SSR 17.2 feature conflicts with hosting rewrites #6855
Comments
Hey @alexcibotari, thanks for reaching out. Sorry to hear you’re encountering this issue. By any chance, would you be able to share a minimal reproducible example with us, or detailed steps on how you set up your Angular project? This will help us with replicating the issue. |
Hello @aalej The most closest example that I have at the moment https://codesandbox.io/p/devbox/naughty-wave-x4xqrs?file=%2Fsrc%2Fapp%2Fapp.routes.ts |
I had the same issue with Next.js FYI: firebase-tools/src/frameworks/index.ts Line 331 in d9d51e4
|
Hi @alexcibotari, Could you try to use the send method instead of return in the function?
Please let me know if it helps. |
Hello @9kubczas4 , the result is the same. The response is coming from the SSR function created by Firebase, and not the function associated with the path in hosting. |
[REQUIRED] Environment info
firebase-tools: 13.4.0
Platform: Windows 11
[REQUIRED] Test case
I have the next firebase.json configuration :
[REQUIRED] Steps to reproduce
Perform GET request to
<firebase host>/api/users
[REQUIRED] Expected behavior
The request is receiving a response from the Firebase function
[REQUIRED] Actual behavior
The request is handled by Angular SSR frameworksBackend function
The text was updated successfully, but these errors were encountered: