Open Ranguna opened 2 years ago
To avoid fiddly code fetching the current protocol, domain and port from the window, one can simply use the path and the browser will automatically call the protocol://domain:port/ in the browser's address.
window
To avoid fiddly code fetching the current protocol, domain and port from the
window
, one can simply use the path and the browser will automatically call the protocol://domain:port/ in the browser's address.