Open cameron opened 10 years ago
When writing URLs on the client, you can omit the protocol (HTTP/S) and the browser will assume the current protocol.
URLs then look like: //sub.domain.tld/path.
//sub.domain.tld/path
Make a habit of this :)
https://github.com/mcb80x/minimal-player/blob/c7e7162a3218f4d1358898ebeac68434a4a44ccf/backend/config.py#L9
When writing URLs on the client, you can omit the protocol (HTTP/S) and the browser will assume the current protocol.
URLs then look like:
//sub.domain.tld/path
.Make a habit of this :)
https://github.com/mcb80x/minimal-player/blob/c7e7162a3218f4d1358898ebeac68434a4a44ccf/backend/config.py#L9