4 ms·
Using real domain names lets you experience the web as it is in production. Localhost has a bunch of exceptions (i.e. HTTP URLs are treated as secure, CORS acts
by jeroenhd 2y ago
Using real domain names lets you experience the web as it is in production. Localhost has a bunch of exceptions (i.e. HTTP URLs are treated as secure, CORS acts funny, etc.). Using domain names disables special handling of localhost URLs that'll help you spot problems before they hit production.
- vlod 2y agoThanks. This is the reason I wanted rather then convenience of not typing a port number (which I'd use a bookmark for, so I really don't care)
- ghoshbishakh 2y agoTrick: edit yuor /etc/hosts file and add a domain name. Self sign a certificate and add it to your trusted certificate list. Or - use https://pinggy.io https://pinggy.io