Commit 04b7cce2 authored by Carlo Ascani's avatar Carlo Ascani

Fix the deeplinking feature

parent d4250e74
Pipeline #46167182 passed with stage
in 1 minute and 24 seconds
......@@ -43,7 +43,7 @@ export default new Vuex.Store({
},
shareLink(state) {
let loc = window.location;
let baseUrl = `${loc.protocol}//${loc.host}`;
let baseUrl = `${loc.protocol}//${loc.host}${location.pathname}`;
let r = state.repos.map(x => x.name.replace('/', '|')).join('+');
return `${baseUrl}?r=${r}`;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment