CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs

Redirect to API.html on open GET

Open
#170 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3
Forks
6
Avg merge
1h 25m
Merged PRs (30d)
3

Description

The JSON response may cause trouble and doesn't obviously help. Let's send to the API page so the HTML Document is an obvious thing to get on a GET.

https://github.com/CenterForDigitalHumanities/rerum_server_nodejs/blob/2f43bb89703602c1740b54e8f41bc4299931a88b/routes/api-routes.js#L67-L82

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.