configure sso in nginx
parent
8868aec0dc
commit
960033525d
@ -1,6 +1,5 @@
|
|||||||
from flask import Blueprint
|
from flask import Blueprint
|
||||||
|
|
||||||
|
|
||||||
sso = Blueprint('sso', __name__, static_folder='static', template_folder='templates')
|
sso = Blueprint('sso', __name__, static_folder='static', template_folder='templates')
|
||||||
|
|
||||||
from mailu.sso.views import *
|
from mailu.sso.views import *
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
__all__ = [
|
__all__ = [
|
||||||
'base', 'hello'
|
'base'
|
||||||
]
|
]
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
from mailu.sso import sso
|
|
||||||
from flask import current_app as app
|
|
||||||
|
|
||||||
@sso.route("/")
|
|
||||||
def hello_world():
|
|
||||||
return "<p>Hello, World!</p>"
|
|
Loading…
Reference in New Issue