PetAgent/frontend/.env.example
2026-04-12 11:32:37 +08:00

22 lines
648 B
Plaintext

new file mode 100644
# API Configuration for AI Pet Companion Frontend
# Copy this file to .env and customize for your environment
# API Settings
VITE_API_BASE_URL=/api # Use /api for dev (matches Vite proxy), use full URL for production
VITE_API_VERSION=v1
VITE_REQUEST_TIMEOUT=30000
# Development Settings
VITE_PROXY_TARGET=http://localhost:8001
VITE_SERVER_PORT=3000
# Other Settings
VITE_APP_TITLE=AI Pet Companion
\ No newline at end of file
Index: frontend/src/config/apiConfig.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================