add certificate
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
#
|
||||
# Windows D: drive in WSL is usually: /mnt/d/Test/alrahma/client_laravel
|
||||
#
|
||||
# Laravel API proxy: defaults to host port 8000. Override if requests fail:
|
||||
# export VITE_PROXY_API=http://172.17.0.1:8000
|
||||
# Laravel API proxy: defaults to host port 8080. Override if requests fail:
|
||||
# export VITE_PROXY_API=http://172.17.0.1:8080
|
||||
# ./scripts/docker-up-wsl.sh
|
||||
#
|
||||
set -euo pipefail
|
||||
@@ -24,7 +24,7 @@ if [[ "$(pwd)" == /mnt/* ]]; then
|
||||
echo "Note: Project is on a Windows mount (/mnt/...). File sync can be slower; Vite uses polling." >&2
|
||||
fi
|
||||
|
||||
export VITE_PROXY_API="${VITE_PROXY_API:-http://host.docker.internal:8000}"
|
||||
export VITE_PROXY_API="${VITE_PROXY_API:-http://host.docker.internal:8080}"
|
||||
|
||||
echo "Using VITE_PROXY_API=${VITE_PROXY_API}" >&2
|
||||
echo "App → http://localhost:5173 (ensure Laravel is reachable from the container at the proxy target)" >&2
|
||||
|
||||
Reference in New Issue
Block a user