Skip to content
Discussion options

You must be logged in to vote

Hello @LuisGomezdeTerreros 👋🏻

This is the bit of code that's enforcing the behaviour in the endpoint badge:

if (protocol !== 'https:') {
throw new InvalidParameter({ prettyMessage: 'please use https' })
}

There's currently no way to bypass it, but perhaps an option could be added to support this use case. :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LuisGomezdeTerreros
Comment options

Answer selected by PyvesB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants