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

Removed keys from Next public config #1690

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

sergiomario
Copy link
Contributor

@sergiomario sergiomario commented Oct 28, 2024

Contexto

Algumas chaves privadas estão sendo impressas no HTML que fica acessível para o usuário final.

Essas chaves do Pagarme, os Tokens da API GraphQL e do Open API deveriam ser secretas. É necessário revisar a forma de como resolver isso, entendendo ser uma função da própria tecnologia NextJS e então atualizar as chaves de acesso aos serviços.

https://nextjs.org/docs/pages/api-reference/next-config-js/runtime-configuration

Copy link

vercel bot commented Oct 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bonde-clients ❌ Failed (Inspect) Oct 28, 2024 6:27pm

@sergiomario sergiomario changed the title Hotfix/exposed keys webpage Removed keys from Next public config Oct 28, 2024
@sergiomario sergiomario self-assigned this Oct 28, 2024
@sergiomario sergiomario merged commit 292c01f into release/webpage Oct 29, 2024
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants