We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ca4659 commit a47a244Copy full SHA for a47a244
README.md
@@ -69,6 +69,12 @@ To avoid opening a browser window, use `--no-view` option.
69
$ pyscript run <path_of_folder> --no-view
70
```
71
72
+To serve a default file (e.g., `index.html`) instead of a 404 HTTP status when a nonexistent file is accessed, use `--default-file` option.
73
+
74
+```shell
75
+pyscript run <path_of_folder> --default-file <name of default file>
76
+```
77
78
### create
79
80
#### Create a new pyscript project with the passed in name, creating a new directory
0 commit comments