forked from orbit-oss/flask
static_folder can be a pathlib.Path
This commit is contained in:
parent
187f6ce409
commit
9a2adfba4d
4 changed files with 8 additions and 5 deletions
|
|
@ -389,7 +389,7 @@ class Flask(Scaffold):
|
|||
self,
|
||||
import_name: str,
|
||||
static_url_path: t.Optional[str] = None,
|
||||
static_folder: t.Optional[str] = "static",
|
||||
static_folder: t.Optional[t.Union[str, os.PathLike]] = "static",
|
||||
static_host: t.Optional[str] = None,
|
||||
host_matching: bool = False,
|
||||
subdomain_matching: bool = False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue