cutting-room-floor / tilestream

A high-performance map tile server powered by MBTiles files
BSD 3-Clause "New" or "Revised" License
745 stars 106 forks source link

Fix #152: add HTTPS support by removing hard-coded protocol #157

Open mrts opened 6 years ago

mrts commented 6 years ago

As a result the URLs will be protocol-relative. Here's an example:

$ cat > test.js <<EOF
> var url = require('url');
> console.log(url.format({host: 'hello'}));
> EOF
$ node test.js
//hello