mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-07-29 15:53:54 -05:00
Stop using application/x-javascript as a mime type and use the RFC-compliant application/javascript instead. Fixes #4261
This commit is contained in:
@@ -105,7 +105,7 @@ class TablespaceView(PGChildNodeView):
|
||||
"tablespaces/js/tablespaces.js",
|
||||
_=gettext
|
||||
),
|
||||
200, {'Content-Type': 'application/x-javascript'}
|
||||
200, {'Content-Type': 'application/javascript'}
|
||||
)
|
||||
|
||||
def check_precondition(f):
|
||||
|
||||
Reference in New Issue
Block a user