Skip to content

♻️ refactor(docker): rename Vite environment variables in build config#70

Merged
656d696c65 merged 2 commits intomainfrom
dev-1.0.2
Mar 12, 2026
Merged

♻️ refactor(docker): rename Vite environment variables in build config#70
656d696c65 merged 2 commits intomainfrom
dev-1.0.2

Conversation

@656d696c65
Copy link
Member

  • rename VITE_PUBLIC_WEBSITE_URL to VITE_WEBSITE_BASE_URL in compose.yml and website Dockerfile
  • rename VITE_PUBLIC_API_URL to VITE_API_BASE_URL in compose.yml and website Dockerfile

🐛 fix(website): validate VITE_API_BASE_URL before API requests

  • add early return with error when VITE_API_BASE_URL is not defined at build time in getResponseBodyFromAPI
  • extract apiBaseUrl variable to avoid repeated inline import.meta.env access

🔧 chore: bump version to 1.0.2

&mile and others added 2 commits March 12, 2026 17:47
- rename VITE_PUBLIC_WEBSITE_URL to VITE_WEBSITE_BASE_URL
  in compose.yml and website Dockerfile
- rename VITE_PUBLIC_API_URL to VITE_API_BASE_URL
  in compose.yml and website Dockerfile

🐛 fix(website): validate VITE_API_BASE_URL before API requests

- add early return with error when VITE_API_BASE_URL
  is not defined at build time in getResponseBodyFromAPI
- extract apiBaseUrl variable to avoid repeated
  inline import.meta.env access

🔧 chore: bump version to 1.0.2
@656d696c65 656d696c65 merged commit df65e13 into main Mar 12, 2026
1 check passed
@656d696c65 656d696c65 deleted the dev-1.0.2 branch March 12, 2026 17:14
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