If you want to make sure your replit site only serves https you can use this middleware.
I always put a script in the client-side to do that lol
if (window.location.protocol == "http:")
window.location.protocol = "https:";
@nithilan4 wait does that work?
@TaylorLiang surprisingly yes but only for things like replit that can be http or https
@TaylorLiang yes - I use