Skip to content

Commit 0c82a64

Browse files
committed
updating the env paths in router/index.js
1 parent 5eaf8fb commit 0c82a64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/router/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ let routes = [
125125
redirect: () => {
126126
window.location.assign(
127127
[
128-
process.env.VUE_APP_API_HOSTNAME,
128+
import.meta.env.VITE_HOSTNAME,
129129
"/search?fairsharingRegistry=FAIRassist",
130130
].join(""),
131131
);
@@ -564,7 +564,7 @@ let routes = [
564564
path: "/community_curation",
565565
redirect: () => {
566566
window.location.assign(
567-
[import.meta.env.VUE_APP_API_HOSTNAME, "/community_champions"].join(""),
567+
[import.meta.env.VITE_HOSTNAME, "/community_champions"].join(""),
568568
);
569569
},
570570
},
@@ -574,7 +574,7 @@ let routes = [
574574
redirect: () => {
575575
window.location.assign(
576576
[
577-
import.meta.env.VUE_APP_API_HOSTNAME,
577+
import.meta.env.VITE_HOSTNAME,
578578
"/community_champions/our_champions",
579579
].join(""),
580580
);

0 commit comments

Comments
 (0)