You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "nzomkxia (GitHub)" <gi...@apache.org> on 2019/01/09 06:15:00 UTC
[GitHub] [incubator-dubbo-ops] nzomkxia commented on issue #236: 请问部署时我要设置一个context-path除了在后端工程里配置之外,前端工程要做何修改?
> 貌似自己找到了:
>
> 1. config/index.js assetsPublicPath: '/dubbo/',
> 2. src/components/http-common.js baseURL : '/dubbo/api/dev'
> 3. src/components/ServiceSearch.vue getHref 和 governanceHref 方法里把地址的绝对路径改为相对路径 ,即:
> `return '/#/serviceDetail?' + query` 改为 `return '#/serviceDetail?' + query`
> `let base = '/#/governance/' + type` 改为 `let base = '#/governance/' + type`
谢谢,前两个是配置,第三点之前的写法不对,你改掉的是对的,能提个pr么?
[ Full content available at: https://github.com/apache/incubator-dubbo-ops/issues/236 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org