Is the variable ALLOW_INSECURE_HTTP real ? #11491
-
|
I am hosting a local instance of shields.io in docker and I am trying to get a badge from a local host (so http) that is running in my computer . But it renders the badge with message "please use https". So does the variable ALLOW_INSECURE_HTTP exist because chatgpt keeps telling me it exist but it cannot find the source and neither can I. Is it even possible to do what I am trying to do ? I am using this command to create the instance: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hello @LuisGomezdeTerreros 👋🏻 This is the bit of code that's enforcing the behaviour in the endpoint badge: shields/services/endpoint/endpoint.service.js Lines 182 to 184 in 33d6a3c There's currently no way to bypass it, but perhaps an option could be added to support this use case. :) |
Beta Was this translation helpful? Give feedback.
Hello @LuisGomezdeTerreros 👋🏻
This is the bit of code that's enforcing the behaviour in the endpoint badge:
shields/services/endpoint/endpoint.service.js
Lines 182 to 184 in 33d6a3c
There's currently no way to bypass it, but perhaps an option could be added to support this use case. :)