從官網的攻略介紹來看,因為安全考量,所以平常都應該使用send_from_directory(),而不是send_file()。 下面可以看一下程式碼app.py: from flask import Flask ...
確定! 回上一頁