mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-07-02 07:01:30 +00:00
revert:version by env
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
import datetime
|
||||
|
||||
import os
|
||||
from django.conf import settings
|
||||
from django.templatetags.static import static
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
@@ -17,6 +17,7 @@ default_interface = dict((
|
||||
('theme', 'classic_green'),
|
||||
('theme_info', {}),
|
||||
('footer_content', ''),
|
||||
('version', os.environ.get("CURRENT_VERSION", ""))
|
||||
))
|
||||
|
||||
current_year = datetime.datetime.now().year
|
||||
|
||||
Reference in New Issue
Block a user