mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-17 13:06:18 +00:00
update worker versioning and settings for cluster compatibility
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from django.conf import settings
|
||||
from django.contrib import messages
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.shortcuts import get_object_or_404, redirect, render
|
||||
@@ -21,7 +22,7 @@ def cluster_main(request):
|
||||
context = {
|
||||
'page_title': page_title,
|
||||
'workers': workers,
|
||||
'current_worker_version': 10,
|
||||
'current_worker_version': settings.CLUSTER_WORKER_CURRENT_VERSION,
|
||||
'cluster_settings': cluster_settings
|
||||
}
|
||||
return render(request, 'cluster/workers_list.html', context)
|
||||
|
||||
Reference in New Issue
Block a user