fix(fronted): Fix Tensorboard.tsx endpoint (#1263)

This commit is contained in:
Tommy Li 2023-06-26 08:56:15 -07:00 committed by GitHub
parent 66a129c63f
commit 691f225cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ function makeProxyUrl(podAddress: string) {
// We use this pod address without encoding since encoded pod address failed to open the
// tensorboard instance on this pod.
// TODO: figure out why the encoded pod address failed to open the tensorboard.
return 'apis/v1beta1/_proxy/' + podAddress.replace(/(^\w+:|^)\/\//, '');
return 'apis/v1/_proxy/' + podAddress.replace(/(^\w+:|^)\/\//, '');
}
export default TensorboardViewer;