feat: constant

This commit is contained in:
luchang
2024-05-27 09:38:33 +08:00
parent 3bcff30458
commit 47941ad9c0
6 changed files with 28 additions and 8 deletions
+5 -6
View File
@@ -1,10 +1,9 @@
import { defineConfig } from "@umijs/max";
import { defineConfig } from '@umijs/max';
export default defineConfig({
define: {
'process.env': {
API_HOST_URL: 'http://localhost:3000'
}
}
})
API_HOST_URL: 'http://localhost:4399',
},
},
});
+1 -1
View File
@@ -3,7 +3,7 @@ import { defineConfig } from '@umijs/max';
export default defineConfig({
define: {
'process.env': {
API_HOST_URL: 'http://localhost:3000',
API_HOST_URL: 'http://localhost:4399',
},
},
});