We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe2d77 commit 7b80474Copy full SHA for 7b80474
web/rsbuild.config.mjs
@@ -8,7 +8,8 @@ export default defineConfig(({ mode }) => {
8
const env = loadEnv(mode, process.cwd());
9
10
// first try process.env.AGENT_API_HOST from docker environment, then try env.parsed.AGENT_API_HOST from .env file
11
- const AGENT_API_HOST = process.env.AGENT_API_HOST || env.parsed.AGENT_API_HOST;
+ // finally use http://localhost:8000 as default
12
+ const AGENT_API_HOST = process.env.AGENT_API_HOST || env.parsed.AGENT_API_HOST || 'http://localhost:8000';
13
14
return {
15
plugins: [
0 commit comments