Skip to content

Commit 9d20791

Browse files
committed
fix: 🔨 typo in query causing slug navigation error
1 parent ddd6505 commit 9d20791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-app/src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ router.beforeEach((to, from, next) => {
2424

2525
if(!['www', 'dev', 'smart-api', 'localhost:8000', 'localhost:8080'].includes(slug)){
2626

27-
axios.get('https://smart-api.info//api/metadata/'+slug+'?fields=_id&raw=1').then(res=>{
27+
axios.get('https://smart-api.info/api/metadata/'+slug+'?fields=_id&raw=1').then(res=>{
2828

2929
if(Object.prototype.hasOwnProperty.call(res.data, "_id")){
3030
next({name:'UI', params: {smartapi_id : res.data._id}})

0 commit comments

Comments
 (0)