11 lines
272 B
Python
11 lines
272 B
Python
from django.urls import path
|
|
|
|
from apps.proxy.views import ServiceProxyView
|
|
|
|
|
|
app_name = "proxy"
|
|
|
|
urlpatterns = [
|
|
path("<str:service>/", ServiceProxyView.as_view(), name="proxy-root"),
|
|
path("<str:service>/<path:rest>", ServiceProxyView.as_view(), name="proxy"),
|
|
]
|