activescott / activescott/serverless-aws-static-file-handler
The 404 error page renders literal {errorText}
Đang mở
bug
good first issue
help wanted
- Ngôn ngữ chính
- JavaScript
- Star
- 51
- Fork
- 14
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
### 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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.