分类目录归档:flask

【置顶】flask 本地https调试


本地证书生成

使用mkcert工具

mkcert-v1.4.1-windows-amd64.exe example.com 127.0.0.1 localhost --cert-file  cert-file文件名   --key-file  key-file文件名

运行

  • 如果是用python调用app.py的main方法启动的话,只需要在main函数中写入

    ssl_context...

Read more