- Provo, UT
- https://coolaj86.com
-
6'5 • Technophobic Technologist + Videographer • Go, Rust, Node / VanillaJS (@JSJabber), UX, Security, IoT. Canon 24mm 50mm.
- Joined on
2017-10-24
Just seeing this.
You've probably already found a solution, but I'd say check out the Greenlock Express QuickStart in the README.
It'll take less than 5 minutes to go from what you've got there to the simpler setup with the new version.
I've got another bugfix that's waiting on some testing feedback and I'll publish this alongside that.
Indeed, you are correct. Thank you!
I read the email first, now looking at this.
You are correct. I misunderstood.
@gerardo-junior You can already do that with a tools like sclient + udptunnel.
I don't plan to support UDP until there's a good QUIC library for doing so.
I actually have a new Telebit client built in Go, and Go will probably have full QUIC support far before node (especially considering that node still doesn't have good http/2 support).
I could release a version 3 that uses something like:
'undefined' !== typeof window ? window : 'undefined' !== typeof self ? self : golablThis
How about just put var window = self;
in your WebWorker script?
So many things depend on this and it is so abused by things like webpack and browserify, etc, etc that I don't want to rock the boat.
Can you propose a solution?
Is atob
defined on... self
or whatever it is that workers have?
Does globalThis
work?
I haven't tested this one myself, but I think what you want is the v3/v4-compatible s3 module:
https://git.rootprojects.org/root/gl-store-s3.js
npx greenlock defaults --store greenlock-store-s3
IIRC you can update the config by converting the keys from camelCase
to hyphen-case
for the CLI:
npx greenlock defaults --store greenlock-store-s3 --store-access-key-id aaaa --store-secret-access-key xxxx # and so on
And if you're using the default JSON config file in greenlock.d
, you can verify and edit the file by hand - but as a general rule it's not intended to be edited by hand except for debugging.