Commit 3df766f
committed
fix(api): use dynamic baseUrl instead of hardcoded localhost
Replace hardcoded 'http://127.0.0.1:8080' with dynamic info.baseUrl
to support configurable API endpoints.
This allows the ModelAPI to work with different base URLs configured
in the info object rather than being locked to localhost.
将硬编码的 'http://127.0.0.1:8080' 替换为动态的 info.baseUrl,
以支持可配置的 API 端点。
这使得 ModelAPI 能够使用 info 对象中配置的不同基础 URL,
而不是锁定到本地主机。
Change-Id: I6c29429edc03add8e0440bcfd9f44c27ab015d4b
Signed-off-by: OhYee <oyohyee@oyohyee.com>1 parent b6df38f commit 3df766f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments