From 075eded2ba393ef33407575b232eb400567c3ea3 Mon Sep 17 00:00:00 2001 From: ydy0615 Date: Sun, 15 Feb 2026 23:32:04 +0800 Subject: [PATCH] modified: .env modified: .env.example --- .env | 3 ++- .env.example | 13 ++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.env b/.env index 35460e3..2516f76 100644 --- a/.env +++ b/.env @@ -1 +1,2 @@ -VITE_API_URL=http://localhost:8000/v1/completions +VITE_API_URL=/v1/completions +VITE_OCR_URL=/v1/ocr diff --git a/.env.example b/.env.example index 214d718..2516f76 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,2 @@ -VITE_API_URL=http://localhost:8000/v1/completions -VITE_OCR_URL=http://localhost:8000/v1/ocr - -# Ollama 配置 -OLLAMA_HOST=http://192.168.0.120:11434 -OLLAMA_MODEL=gpt-oss:120b - -# 可选:其他配置 -# 如果ollama需要认证,可以使用以下变量 -# OLLAMA_USERNAME=your_username -# OLLAMA_PASSWORD=your_password +VITE_API_URL=/v1/completions +VITE_OCR_URL=/v1/ocr