rd
03/18/2023, 12:18 AMBearT
03/18/2023, 12:19 AMCyb3r-Jok3
03/18/2023, 12:21 AMBearT
03/18/2023, 12:23 AMCyb3r-Jok3
03/18/2023, 12:31 AM.dev.vars
for secrets
https://developers.cloudflare.com/workers/platform/environment-variables/#environment-variables-via-wranglerBearT
03/18/2023, 12:37 AMaaaaa01010123
03/18/2023, 5:41 AMaaaaa01010123
03/18/2023, 5:42 AMaaaaa01010123
03/18/2023, 5:45 AMHardAtWork
03/18/2023, 8:27 AMaaaaa01010123
03/18/2023, 3:06 PMredux1997
03/18/2023, 5:25 PMsirhype
03/18/2023, 7:18 PMChaika
03/18/2023, 7:31 PM*.subdomain.yourwebsite.com
?
If so, that just won't work without ACM (Advanced Certificate Manager) as HardAtWork set. Cloudflare issues you a Universal SSL Cert by default, but that only covers first level subdomains (*.yourwebsite.com
, yourwebsite.com
). ACM is a paid addon you can get.
Worker Custom Domains do issue Adv. Certs for you, for free, allowing you to put workers on deeper subdomains, but they do not support wildcardsCrazy Rabbit
03/18/2023, 9:17 PMHardAtWork
03/18/2023, 9:21 PMts
export default <ExportedHandler<Environment>> {
fetch: honoApp.fetch,
async scheduled(event, env, ctx) {
// …
}
};
nikitasius
03/18/2023, 9:22 PMnikitasius
03/18/2023, 9:23 PMindex.js
, ran wrangler publish
got errors, ran wrangler publish index.js
got syntax errorsnikitasius
03/18/2023, 9:23 PM✘ [ERROR] Expected ";" but found "Env"
index.js:1:10:
1 │ interface Env {
Skye
03/18/2023, 9:28 PMSkye
03/18/2023, 9:28 PMindex.ts
nikitasius
03/18/2023, 9:29 PMSkye
03/18/2023, 9:30 PMSkye
03/18/2023, 9:30 PMnikitasius
03/18/2023, 9:31 PMnikitasius
03/18/2023, 9:32 PMnikitasius
03/18/2023, 9:32 PMnikitasius
03/18/2023, 9:32 PMnikitasius
03/18/2023, 10:23 PM