use HTML 5 history mode for vue frontend

This commit is contained in:
vabene1111
2024-09-25 16:45:11 +02:00
parent 0db439c80d
commit 0a3611b94a
2 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
from pydoc import locate
from django.urls import include, path
from django.urls import include, path, re_path
from django.views.generic import TemplateView
from drf_spectacular.views import SpectacularAPIView
from rest_framework import routers
@@ -76,7 +76,8 @@ for p in PLUGINS:
urlpatterns = [
path('', views.index, name='index'),
path('v3/', views.vue3, name='vue3'),
re_path(r'^v3/.*', views.vue3, name='vue3'),
#path('v3/', views.vue3, name='vue3'),
path('setup/', views.setup, name='view_setup'),
path('no-group', views.no_groups, name='view_no_group'),
path('space-overview', views.space_overview, name='view_space_overview'),