3 ms·
> writing some frontend that is hosted on localhost I assume this would also work for CORS purposes: for some time I've not used localhost where possible, for
by dspillett 5y ago
> writing some frontend that is hosted on localhost
I assume this would also work for CORS purposes: for some time I've not used localhost where possible, for SSL reasons. Giving the local machine a perfectly valid name that I can get a cert for via LE (or already have a cert for, I actually use a non-production name for which I maintain a wildcard cert) is slightly less faf than having my own signing cert installed as trusted everywhere I might need it. Anything I might do publicly is HTTPS-only so my dev/test environments are too.