Skip to content

Investigate removing "api" prefix from API routes #771

Description

@Jack-Edwards

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:

Caddyfile: https://github.com/Crypter-File-Transfer/Crypter/blob/main/Crypter.Web/Caddyfile

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions