feat: polish
This commit is contained in:
parent
2e6177fe74
commit
4bd927bb4e
137 changed files with 6357 additions and 137560 deletions
18
.env.example
Normal file
18
.env.example
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Base URL of the Django REST backend.
|
||||
#
|
||||
# - '/api' same-origin. The Vite dev server proxies
|
||||
# this prefix to VITE_API_PROXY_TARGET (see
|
||||
# below); in production your web server
|
||||
# routes /api to Django.
|
||||
# - 'http://localhost:8000/api' talk to Django directly. CORS must be
|
||||
# enabled there. No proxy is registered.
|
||||
VITE_API_BASE_URL=/api
|
||||
|
||||
# Where the dev server should proxy API requests when VITE_API_BASE_URL is a
|
||||
# relative path. Ignored for absolute URLs or when mocking.
|
||||
VITE_API_PROXY_TARGET=http://localhost:8000
|
||||
|
||||
# When set to 'true', the Vite dev server serves a fake backend from
|
||||
# mocks/vitePlugin.ts. No Django required. The real backend (if any) is
|
||||
# ignored in that case.
|
||||
VITE_USE_MOCK_API=false
|
||||
Loading…
Add table
Add a link
Reference in a new issue