mirror of
https://github.com/farcasclaudiu/learn-build-apps-copilot-agent.git
synced 2026-06-28 21:01:34 +03:00
feat: refactor API base URL handling and update frontend components for improved data structure
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
# Copy this file to .env.local and fill in your values.
|
||||
# .env.local is gitignored and never committed.
|
||||
#
|
||||
# VITE_CODESPACE_NAME is required when running inside a GitHub Codespace.
|
||||
# It is used to build the backend API base URL:
|
||||
# https://${VITE_CODESPACE_NAME}-8000.app.github.dev/api
|
||||
# VITE_CODESPACE_NAME can be used to explicitly point at the backend API.
|
||||
# When running inside a GitHub Codespace, the frontend will also auto-detect
|
||||
# the backend host from the current app.github.dev URL.
|
||||
#
|
||||
# If unset, the frontend falls back to http://localhost:8000/api.
|
||||
# If unset outside Codespaces, the frontend falls back to http://localhost:8000/api.
|
||||
|
||||
VITE_CODESPACE_NAME=your-codespace-name-here
|
||||
|
||||
Reference in New Issue
Block a user