File tree Expand file tree Collapse file tree
docs/developer-guide/core
versioned_docs/version-2.23/developer-guide/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,28 +50,21 @@ pnpm dev
5050最终控制台打印了如下信息即代表运行正常:
5151
5252``` bash
53- VITE v4.2.3 ready in 638 ms
53+ VITE v8.0.0 ready in 805 ms
5454
55- # Console 控制台服务
56- ➜ Local: http://localhost:3000/console/
57-
58- # UC 个人中心服务
59- ➜ Local: http://localhost:4000/uc/
55+ ➜ Local: http://localhost:3000/
56+ ➜ Network: http://192.168.1.7:3000/
6057```
6158
6259:::info 提示
63- 请不要直接使用 UI 的运行端口( 3000 / 4000) 访问,会因为跨域问题导致无法正常登录,建议按照后续的步骤以 dev 的配置文件运行 Halo,在 dev 的配置文件中,我们默认代理了 UI 页面的访问地址,所以后续访问 UI 页面使用 ` http://localhost:8090/console ` 和 ` http://localhost:8090/uc ` 访问即可,代理的相关配置:
60+ 请不要直接使用 UI 的运行端口 3000 访问,会因为跨域问题导致无法正常登录,建议按照后续的步骤以 dev 的配置文件运行 Halo,在 dev 的配置文件中,我们默认代理了 UI 页面的访问地址,所以后续访问 UI 页面使用 ` http://localhost:8090/console ` 和 ` http://localhost:8090/uc ` 访问即可,代理的相关配置:
6461
6562``` yaml
6663halo :
67- console :
64+ ui :
6865 proxy :
6966 endpoint : http://localhost:3000/
7067 enabled : true
71- uc :
72- proxy :
73- endpoint : http://localhost:4000/
74- enabled : true
7568` ` `
7669
7770:::
Original file line number Diff line number Diff line change @@ -50,28 +50,21 @@ pnpm dev
5050最终控制台打印了如下信息即代表运行正常:
5151
5252``` bash
53- VITE v4.2.3 ready in 638 ms
53+ VITE v8.0.0 ready in 805 ms
5454
55- # Console 控制台服务
56- ➜ Local: http://localhost:3000/console/
57-
58- # UC 个人中心服务
59- ➜ Local: http://localhost:4000/uc/
55+ ➜ Local: http://localhost:3000/
56+ ➜ Network: http://192.168.1.7:3000/
6057```
6158
6259:::info 提示
63- 请不要直接使用 UI 的运行端口( 3000 / 4000) 访问,会因为跨域问题导致无法正常登录,建议按照后续的步骤以 dev 的配置文件运行 Halo,在 dev 的配置文件中,我们默认代理了 UI 页面的访问地址,所以后续访问 UI 页面使用 ` http://localhost:8090/console ` 和 ` http://localhost:8090/uc ` 访问即可,代理的相关配置:
60+ 请不要直接使用 UI 的运行端口 3000 访问,会因为跨域问题导致无法正常登录,建议按照后续的步骤以 dev 的配置文件运行 Halo,在 dev 的配置文件中,我们默认代理了 UI 页面的访问地址,所以后续访问 UI 页面使用 ` http://localhost:8090/console ` 和 ` http://localhost:8090/uc ` 访问即可,代理的相关配置:
6461
6562``` yaml
6663halo :
67- console :
64+ ui :
6865 proxy :
6966 endpoint : http://localhost:3000/
7067 enabled : true
71- uc :
72- proxy :
73- endpoint : http://localhost:4000/
74- enabled : true
7568` ` `
7669
7770:::
You can’t perform that action at this time.
0 commit comments