TuxInvader / nginx-dns

Sample Configuration for DNS over HTTPS (DoH/DoT gateway) and GSLB with NGINX
BSD 2-Clause "Simplified" License
197 stars 48 forks source link

Replace Deprecated Methods in dns.js #22

Closed oxcl closed 8 months ago

oxcl commented 1 year ago

String.bytesFrom and toBytes() methods have been deprecated since 0.8. i replaced them with Buffer.from()

TuxInvader commented 1 year ago

Hi oxcl,

Thank you for this PR, but I had already made these changes in a v2 branch which I have now merged. Can you confirm that the new main branch works for you please?

Thanks

honigpferd commented 9 months ago

I confirm current master works fine for me.

This PR is probably obsolete now. Wanna close it?

oxcl commented 8 months ago

currently I don't have the chance to test the master. If the issue is fixed then there's no need for this.