We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4abf895 + c9bacab commit 05832f6Copy full SHA for 05832f6
src/App.vue
@@ -107,6 +107,10 @@ export default {
107
this.$store.dispatch('loadSharees')
108
},
109
mounted() {
110
+ // Redirect to cleaner URL (without /index.php) if RewriteBase is enabled
111
+ if (this.$route.path.startsWith('/index.php')) {
112
+ window.location.href = this.$route.fullPath.replace('/index.php', '')
113
+ }
114
// Set navigation to initial state and update in case it gets toggled
115
emit('toggle-navigation', { open: !this.isMobile && this.navShown, _initial: true })
116
this.$nextTick(() => {
0 commit comments