Added User UI

This commit is contained in:
Ultradesu
2025-07-20 23:04:58 +03:00
parent ec869b2974
commit 9bd4896040
5 changed files with 754 additions and 8 deletions

View File

@@ -17,12 +17,13 @@ Including another URLconf
from django.contrib import admin
from django.urls import path, include
from django.views.generic import RedirectView
from vpn.views import shadowsocks, userFrontend
from vpn.views import shadowsocks, userFrontend, userPortal
urlpatterns = [
path('admin/', admin.site.urls),
path('ss/<path:link>', shadowsocks, name='shadowsocks'),
path('dynamic/<path:link>', shadowsocks, name='shadowsocks'),
path('stat/<path:user_hash>', userFrontend, name='userFrontend'),
path('u/<path:user_hash>', userPortal, name='userPortal'),
path('', RedirectView.as_view(url='/admin/', permanent=False)),
]