mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-09 14:21:56 -04:00
Added new webui support into docker
This commit is contained in:
parent
ca7ba46507
commit
5674e26979
4 changed files with 22 additions and 6 deletions
|
@ -84,7 +84,7 @@ def root():
|
|||
@app.route('/license')
|
||||
def license():
|
||||
_increase_serve_count()
|
||||
with open('../LICENSE', 'r') as f:
|
||||
with open(os.environ.get('PYKMS_LICENSE_PATH', '../LICENSE'), 'r') as f:
|
||||
return render_template(
|
||||
'license.html',
|
||||
path='/license/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue