binarykore/Snowkelus
GitHub Action to start a http server that serves files..
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| directory | Directory to serve | no | . |
| port | Port to serve on | no | 8080 |
| no-cache | Whether to set the Cache-Control header or not | no | false |
| index-files | If set and directory is requested, look for those files, instead of show directory listing | no | [] |
| allowed-methods | Throw HTTP-Error 405 on other methods than the methods given | no | ["GET", "HEAD"] |
| content-types | Content Types to serve | no | { "appcache": "text/cache-manifest", "css": "text/css", "gif": "image/gif", "html": "text/html", "ico": "image/x-icon", "jpeg": "image/jpeg", "jpg": "image/jpeg", "js": "text/javascript", "json": "application/json", "png": "image/png", "txt": "text/plain", "xml": "text/xml" } |
| log | Create a log file with given name | no | "" |
| logTime | Whether to include the time of access in the log file or not | no | true |
Outputs
no outputs