mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Use minified output when not in debug mode, and non-minified when debugging.
Update jQuery while we're at it.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
MODULE_NAME = 'settings'
|
||||
|
||||
import config
|
||||
from flask import Blueprint, abort, request
|
||||
from flask import Blueprint, Response, abort, request
|
||||
from flask.ext.security import login_required
|
||||
|
||||
from . import get_setting, store_setting
|
||||
@@ -51,4 +51,8 @@ def get(setting=None, default=None):
|
||||
except:
|
||||
return ''
|
||||
|
||||
return value
|
||||
resp = Response(response=value,
|
||||
status=200,
|
||||
mimetype="text/plain")
|
||||
|
||||
return resp
|
||||
|
||||
Reference in New Issue
Block a user