mirror of https://github.com/nocodb/nocodb
Browse Source
* chore(gui-v2): base url correction - support nocodb serving under a nested path Signed-off-by: Pranav C <pranavxc@gmail.com> * chore(gui-v2): initial base url correction Signed-off-by: Pranav C <pranavxc@gmail.com> * fix(gui-v2): redirect to dashboard with relative path Signed-off-by: Pranav C <pranavxc@gmail.com> * fix(gui-v2): make plugin path relative Signed-off-by: Pranav C <pranavxc@gmail.com> * fix(gui-v2): redirect path correction Signed-off-by: Pranav C <pranavxc@gmail.com> * fix: allow download option migration handling Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> * fix(gui-v2): redirect old base url to new path Signed-off-by: Pranav C <pranavxc@gmail.com> * fix(gui-v2): redirect old base ur with some view/table open Signed-off-by: Pranav C <pranavxc@gmail.com> * fix(gui-v2): handle old tab url and navigate to the new url Signed-off-by: Pranav C <pranavxc@gmail.com> * chore(gui-v2): cleanup Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Pranav C <pranavxc@gmail.com> Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> Co-authored-by: Raju Udava <86527202+dstala@users.noreply.github.com>pull/3515/head
Pranav C
2 years ago
committed by
GitHub
48 changed files with 1074 additions and 80 deletions
@ -0,0 +1,15 @@
|
||||
<script setup lang="ts"> |
||||
/** A dummy page to redirect old shared base url from v1 to latest */ |
||||
|
||||
const route = useRoute() |
||||
|
||||
const router = useRouter() |
||||
|
||||
const { type, name, view } = route.query |
||||
|
||||
if (type && name) { |
||||
router.replace(`/base/${route.params.baseId}/${type}/${name}${view ? `/${view}` : ''}`) |
||||
} else { |
||||
router.replace(`/base/${route.params.baseId}`) |
||||
} |
||||
</script> |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue