#152 can't get taskmetrics when using "npm run dev", the url is this.href

Closed
created 2 years ago by yiluxiangbei · 3 comments
can't get taskmetrics when using "npm run dev", the url is this.href release-v4.0.0 The code is ``` this.href = window.location.protocol + '//' + window.location.host this.loadHref = this.href + '/grafana/d/TK8iV8nWk/taskmetrics?orgId=1&refresh=10s&var-pod=' + this.pod + '&var-pod_name=' + this.pod ```
yiluxiangbei commented 2 years ago
Poster
I change it to this.href = this.GLOBAL.DOMAIN;
shamartor added the
help wanted
label 2 years ago
shamartor added this to the v4.0.5 milestone 2 years ago
denglei was assigned by shamartor 2 years ago
denglei commented 2 years ago
Collaborator
本地调试执行npm run dev指令需要修改DOMAIN地址,将http://192.168.202.73替换成自己的服务器地址 具体步骤为管理端:打开octopus->admin-portal->src->api->globalVariable.js ![url路径问题](/attachments/54642606-17dc-4d94-a839-6bb0c3d39060) 管理端:打开octopus->openai-portal->src->api->globalVariable.js ![url路径问题](/attachments/d42f4d2c-7fd2-4154-94f2-0e4835c0171b)
denglei added the
开发完成
label 2 years ago
yiluxiangbei commented 2 years ago
Poster
> 本地调试执行npm run dev指令需要修改DOMAIN地址,将http://192.168.202.73替换成自己的服务器地址 > 具体步骤为管理端:打开octopus->admin-portal->src->api->globalVariable.js > ![url路径问题](/attachments/54642606-17dc-4d94-a839-6bb0c3d39060) > 管理端:打开octopus->openai-portal->src->api->globalVariable.js > > ![url路径问题](/attachments/d42f4d2c-7fd2-4154-94f2-0e4835c0171b) > 呵呵
liwei03 closed this issue 2 years ago
yangxzh1 added the
测试通过
label 2 years ago
yangxzh1 removed the
开发完成
label 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.