activescott / activescott/serverless-aws-static-file-handler
The 404 error page renders literal {errorText}
未关闭
bug
good first issue
help wanted
- 主要语言
- JavaScript
- 星标
- 51
- 派生
- 14
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 4
描述
### Expected behavior:
The 404 result presents the actual internal error text in development environments
### Actual behavior:
Literal `{errorText}` is rendered which is a bit less than useful for debugging purposes.
### Steps to fix the problem:
In `async responseAsError(errorText, statusCode)` replace
```
{{errorText}}
```
with
```
${errorText}
```
or similar.
贡献指南
评估
这个 Issue 还没有评估数据。