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

feat(qwik-city): add a way to get server-side env vars from onStaticGenerate #4912

Merged
merged 1 commit into from
Aug 23, 2023

Commits on Aug 7, 2023

  1. feat(qwik-city): add a way to get server-side env vars from `onStatic…

    …Generate`
    
    The function `onStaticGenerate()` now takes an `EnvGetter`, allowing the end-user to generate SSG
    routes parameters by fetching data from a service which is protected by credentials (e.g.: an
    API or a database), and where those credentials are available as server-side env vars.
    
    fix QwikDev#4907
    Kocal committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    1eecc2a View commit details
    Browse the repository at this point in the history