修复WebUI api 请求地址,更新docker 部署

This commit is contained in:
TOM88812
2025-02-15 22:36:01 +08:00
parent e7645198ba
commit 5b6899052a
13 changed files with 93 additions and 33 deletions
@@ -24,6 +24,8 @@
</template>
<script>
import { API_BASE_URL } from '../config/api';
export default {
data() {
return {
@@ -47,7 +49,7 @@ export default {
this.isLoading = true;
try {
const response = await fetch(`${import.meta.env.VITE_API_BASE_URL}/api/register`, {
const response = await fetch(`${API_BASE_URL}/api/register`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',