mirror of
https://github.com/wahyd4/links.git
synced 2026-08-08 21:04:53 +10:00
Add nginx visualization
This commit is contained in:
@@ -21,6 +21,7 @@ INSTALLED_APPS = [
|
||||
'simplemde',
|
||||
'markdown', # 只需要基本的markdown包
|
||||
'netscan',
|
||||
'nginxmon',
|
||||
]
|
||||
|
||||
ROOT_URLCONF = 'core.urls'
|
||||
|
||||
@@ -48,6 +48,7 @@ urlpatterns = [
|
||||
|
||||
# Include netscan and files BEFORE links.urls to prevent the alias catch-all from intercepting them
|
||||
path('ui/netscan/', include('netscan.urls')),
|
||||
path('ui/nginxmon/', include('nginxmon.urls')),
|
||||
path('ui/files/', include('links.file_urls')),
|
||||
|
||||
# Import external image by URL — /import/images/<path:image_url> (also plural alias)
|
||||
|
||||
Reference in New Issue
Block a user