From 594f1e6d5c0cad711660cb20e072246dee167ab7 Mon Sep 17 00:00:00 2001 From: EagleYing Date: Tue, 22 Jan 2019 10:43:45 +0800 Subject: [PATCH] Update Bottle With Ssl -- https.md --- Bottle With Ssl -- https.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Bottle With Ssl -- https.md b/Bottle With Ssl -- https.md index b688dfd..f7a617c 100644 --- a/Bottle With Ssl -- https.md +++ b/Bottle With Ssl -- https.md @@ -51,9 +51,8 @@ Then you need to add srv = SSLWSGIRefServer(host="0.0.0.0", port=8080) run(server=srv) ``` - -Run your .py file and type `https://yourdomain/hello...` and you will be pleasantly surprised to find a little lock before url. +Change `@app.route` into `@get`, run your .py file and type `https://yourdomain/hello...` and you will be pleasantly surprised to find a little lock before url. ### Add domain -Add your own domain on your wechat miniprogram public account ( developers domain configuration ). \ No newline at end of file +Add your own domain on your wechat miniprogram public account ( developers domain configuration ).