Skip to content

Prepend https:// to cURL example shown on empty topic pages #1435

@elmatadoor

Description

@elmatadoor

Description:

When opening a newly created (empty) topic in the ntfy web interface (i.e., a topic that hasn't yet received any notifications), the page currently displays a cURL example like this:

$ curl -d "Hello" ntfy.sh/my-topic

To ensure the URL is correctly formatted, we need to prepend "https://" to the cURL example. The updated example should look like this:

$ curl -d "Hello" https://ntfy.sh/my-topic

This change will ensure that users can directly copy and paste the cURL example without needing to manually add "https://" to the URL, improving the usability of the interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions