Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
fix link for homepage (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmbai authored Feb 9, 2022
1 parent ca1b289 commit 372bcb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/components/namespace-navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ import { stringify } from 'friendly-querystring';
import { getKeyValuePairs, mapNamespaceDescription } from '~helpers';
import { DetailList } from '~components';
const PUBLIC_PATH = process.env.TEMPORAL_WEB_ROOT_PATH || '/';
const validationMessages = {
valid: d => `${d} exists`,
invalid: d => `${d} does not exist`,
Expand Down Expand Up @@ -111,7 +113,7 @@ export default {
}
},
namespaceLink(d) {
return `/namespaces/${d}/workflows?${stringify(
return `${PUBLIC_PATH}namespaces/${d}/workflows?${stringify(
this.$router.currentRoute.query
)}`;
},
Expand Down

0 comments on commit 372bcb2

Please sign in to comment.