perf(projects): env config

This commit is contained in:
Soybean
2023-11-20 21:32:55 +08:00
parent 8081e19ebc
commit 1bac3b78d7
3 changed files with 11 additions and 6 deletions

View File

@ -25,7 +25,7 @@ export function createViteProxy(env: Env.ImportMeta) {
const otherURLEntries = Object.entries(otherBaseURL);
for (const [key, url] of otherURLEntries) {
const proxyPattern = createProxyPattern(key);
const proxyPattern = createProxyPattern(key as App.Service.OtherBaseURLKey);
proxy[proxyPattern] = {
target: url,