Skip to content

Commit

Permalink
✨ Add /getapp/_action page for handling univeral link actions
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Jun 28, 2023
1 parent 74f1ed2 commit 82b2c56
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public_base/.well-known/apple-app-site-association
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"appID": "6VG4638588.com.oice",
"paths": [
"getapp",
"*/getapp"
"*/getapp",
"*/getapp/*"
]
}
]
Expand Down
10 changes: 10 additions & 0 deletions src/pages/getapp/_action.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<template>
<ProgressIndicator />
</template>
<script>
export default {
fetch({ redirect, params, query, localeLocation }) {
redirect(302, localeLocation({ name: 'getapp', params, query }));
},
};
</script>

0 comments on commit 82b2c56

Please sign in to comment.