bxztApp/packages/screen/api.config.js

25 lines
613 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// API 基础地址配置
// 此文件用于共享 API 地址配置,供 vite.config.js 和前端代码共同使用
// 当前使用的 API 地址
export const API_BASE_URL = 'http://8.137.54.85:8661/'
// 代理目标地址(用于 vite.config.js
export const PROXY_TARGET = API_BASE_URL
// 其他环境配置(备用)
export const API_URLS = {
// 测试环境
test: 'http://8.137.54.85:8661/',
// 张启生本地环境
zhangqisheng: 'http://192.168.110.36:8661/',
// 其他本地环境
local: 'http://192.168.110.16:8661/',
}
export default {
API_BASE_URL,
PROXY_TARGET,
API_URLS,
}