Skip to content

Commit

Permalink
Merge pull request #12 from travellings-link/patch
Browse files Browse the repository at this point in the history
fix(login): add redirect url
  • Loading branch information
xuanzhi33 authored Apr 19, 2024
2 parents 6220584 + 10ba4af commit e3b5120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const isOpen = defineModel();
const loading = ref(false);
const login = () => {
loading.value = true;
location.href = "https://api.travellings.cn/login/github";
location.href = "https://api.travellings.cn/login/github?redirect_url=https://list.travellings.cn/";
}
</script>
Expand Down

0 comments on commit e3b5120

Please sign in to comment.