🚧 (Alpha stage software) fastn - better way to build websites 🚧
GNU Affero General Public License v3.0
466
stars
36
forks
source link
fix(ftd.http): replicate error response behaviour for data response #1822
Closed
siddhantk232 closed 5 months ago
For the
errors
response from server,ftd.http
correctly prepends defined variables with thefastn-module
name provided throughftd.http-options
.The same thing is not done for
data
response. This PR fixes this.E.g.
The response from the server (
http://localhost:3000/test.json
):The
ftd.text
shows "spiderman" with this change.