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

Refactor server rewrites to accept function API URL as parameter #3632

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

jakubswierczek
Copy link
Contributor

The server rewrite rules are updated to use a provided "functionApiUrl" parameter instead of directly accessing the environment variable. This is achieved by getting the "functionApiUrl" from the request cookies. If no such cookie exists, it falls back to using the environment variable. This allows for more flexibility when setting the functions API URL.

The server rewrite rules are updated to use a provided "functionApiUrl" parameter instead of directly accessing the environment variable. This is achieved by getting the "functionApiUrl" from the request cookies. If no such cookie exists, it falls back to using the environment variable. This allows for more flexibility when setting the functions API URL.
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

Successfully merging this pull request may close these issues.

1 participant