mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 02:32:32 -05:00
fix truststore
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
import truststore
|
|
||||||
|
|
||||||
truststore.inject_into_ssl() # noqa
|
|
||||||
|
|
||||||
import logging as real_logging # noqa
|
import logging as real_logging # noqa
|
||||||
import os # noqa
|
import os # noqa
|
||||||
import secrets # noqa
|
import secrets # noqa
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
##!/usr/bin/env python
|
##!/usr/bin/env python
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
from flask import Flask
|
import truststore
|
||||||
from werkzeug.serving import WSGIRequestHandler
|
|
||||||
|
|
||||||
from app import create_app, socketio # noqa: F401
|
truststore.inject_into_ssl() # noqa
|
||||||
|
|
||||||
|
from flask import Flask # noqa
|
||||||
|
from werkzeug.serving import WSGIRequestHandler # noqa
|
||||||
|
|
||||||
|
from app import create_app, socketio # noqa
|
||||||
|
|
||||||
WSGIRequestHandler.version_string = lambda self: "SecureServer"
|
WSGIRequestHandler.version_string = lambda self: "SecureServer"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user