Skip to content

Refactor: remove developer settings / custom infra api domain #71

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

Merged
merged 5 commits into from
Jun 2, 2025

Conversation

ben-fornefeld
Copy link
Member

@ben-fornefeld ben-fornefeld commented Jun 2, 2025

  • adds a new required env variable INFRA_API_URL
  • removes outdated required env variable NEXT_PUBLIC_DEFAULT_INFRA_DOMAIN
  • refactors the infra api calls to use the new env variable
  • refactors/cleans up server utils
  • removes cookie encryption because this was only used on the developer settings
  • removes the developer settings dialog
  • removes the developer settings route for settings the api url cookie
  • refactor README.md & .env.example

additionally

  • requires necessary KV envs for @vercel/kv package to work correctly in middleware

@ben-fornefeld ben-fornefeld requested a review from dobrac June 2, 2025 10:32
@ben-fornefeld ben-fornefeld self-assigned this Jun 2, 2025
Copy link

linear bot commented Jun 2, 2025

Copy link

vercel bot commented Jun 2, 2025

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

Name Status Preview Comments Updated (UTC)
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 10:32am
web-juliett ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 2, 2025 10:32am

Copy link
Contributor

@dobrac dobrac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ben-fornefeld ben-fornefeld merged commit 088c519 into main Jun 2, 2025
4 checks passed
@ben-fornefeld ben-fornefeld deleted the remove-developer-settings-e2b-2431 branch June 2, 2025 10:57
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