-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
good first issueGood for newcomersGood for newcomersrefactorCode quality can be improvedCode quality can be improved
Description
API routes are currently prefixed with "api". This was intended to support hosting the web client and web API from the same host, using the same reverse-proxy.
Do API endpoints need to be prefixed with "api"? Probably not.
Investigate using Caddy's strip_prefix function to eliminate this requirement.
Example API path where "api" could be removed:
| [Route("api/user/recovery")] |
Caddyfile: https://github.com/Crypter-File-Transfer/Crypter/blob/main/Crypter.Web/Caddyfile
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersrefactorCode quality can be improvedCode quality can be improved