Skip to content

Commit

Permalink
feat: Redirect from old urls (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanistan authored May 23, 2023
1 parent 420424e commit e38977a
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frontend/pages/[org]/[repo]/pull/[pull]/[review]/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<div class="text-center">
redirecting...
</div>
</template>
<script setup type="ts">
const { params } = useRoute();
await navigateTo(`/${params.org}/${params.repo}/pull/${params.pull}/review-${params.review}`);
</script>
9 changes: 9 additions & 0 deletions frontend/pages/[org]/[repo]/pull/[pull]/[review]/md.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<div class="text-center">
redirecting...
</div>
</template>
<script setup type="ts">
const { params } = useRoute();
await navigateTo(`/${params.org}/${params.repo}/pull/${params.pull}/review-${params.review}`);
</script>
9 changes: 9 additions & 0 deletions frontend/pages/[org]/[repo]/pull/[pull]/[review]/post.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<div class="text-center">
redirecting...
</div>
</template>
<script setup type="ts">
const { params } = useRoute();
await navigateTo(`/${params.org}/${params.repo}/pull/${params.pull}/review-${params.review}`);
</script>
9 changes: 9 additions & 0 deletions frontend/pages/[org]/[repo]/pull/[pull]/[review]/slides.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<div class="text-center">
redirecting...
</div>
</template>
<script setup type="ts">
const { params } = useRoute();
await navigateTo(`/${params.org}/${params.repo}/pull/${params.pull}/review-${params.review}`);
</script>

0 comments on commit e38977a

Please sign in to comment.