Created
June 17, 2020 05:48
-
-
Save velotiotech/f7e602669ebe534871002f278154877e to your computer and use it in GitHub Desktop.
init redis and sse route
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app = Flask(__name__) | |
app.config["REDIS_URL"] = "redis://localhost" | |
app.register_blueprint(sse, url_prefix='/stream') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment