Skip to content

Secret env variables are exposed client-side #3

@notorigine

Description

@notorigine

Hi Dato and happy new year!

Just noticed that when using runTimeConfig.public, these env variables are exposed on the front-end; wouldn't it be better to only have them exposed server-side to avoid exposing these CDA token publicly?

Added screenshots for clarity:

Screenshot 2024-11-27 at 10 35 31 Screenshot 2024-11-27 at 10 35 23

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions