Files
TagTinker/cloud-plugins/wrangler.toml
T
HoggorminoandClaude Opus 5 5e204793dd ESP32: make the worker URL a build option instead of a source edit
cloud_client.h hard-coded the worker URL, and wrangler.toml pointed users
at a "WiFi Setup -> Server URL" field that has never existed, so anyone
self-hosting cloud-plugins/ had to edit a header. cloud_client_set_url()
exists but has no callers, and the UART protocol has no frame for it.

Add CONFIG_TT_CLOUD_URL (Kconfig.projbuild, menu "TagTinker") defaulting
to the current URL, and take TT_CLOUD_DEFAULT_URL from it. Setting it in
sdkconfig.defaults or through menuconfig is now enough; rebuild and
reflash still apply, and there is no hidden run-time channel.

Also says so in wrangler.toml and the README WiFi Plugins bullet.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 21:30:22 +02:00

10 lines
379 B
TOML

name = "tagtinker"
main = "src/index.ts"
compatibility_date = "2024-09-23"
# `npm run deploy` will publish to <name>.<account-subdomain>.workers.dev.
# The dev board firmware has no runtime URL setting. To use your own
# deployment, set CONFIG_TT_CLOUD_URL (idf.py menuconfig, under TagTinker,
# or in esp32-wifi-fw/sdkconfig.defaults), then rebuild and reflash the
# ESP32-S2.