This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* cdn proxy for cdnjs/jsdelivr/unpkg/... | |
* | |
* @author sskaje | |
* @usage https://p.rst.im/(js|css)/cdnjs:/path1;/path2;unpkg:/path3;/path4 | |
* @example https://p.rst.im/css/cdnjs:/bootswatch/4.5.0/darkly/bootstrap.min.css;/bootstrap-select/1.13.18/css/bootstrap-select.min.css | |
* @example https://p.rst.im/js/cdnjs:/jquery/3.4.1/jquery.min.js;/twitter-bootstrap/4.5.0/js/bootstrap.bundle.min.js;/datatables/1.10.21/js/jquery.dataTables.min.js | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Author: sskaje (https://sskaje.me) | |
// | |
// https://sskaje.me/2020/05/javascript-dns-sd | |
// | |
const dnssd_query_name = '_protocol._tcp.local' | |
const dnssd_sd_query_name = '_services._dns-sd._udp.local' | |
const dnssd_service_name = 'My Services' | |
const dnssd_host_name = 'test.local' |