activescott / activescott/serverless-aws-static-file-handler
The 404 error page renders literal {errorText}
Aperta
bug
good first issue
help wanted
- Lingua principale
- JavaScript
- Stelle
- 51
- Fork
- 14
- Merge medio
- 1g 8h
- PR unite (30g)
- 4
Descrizione
### 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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.