syumai / workers

Go package to run an HTTP server on Cloudflare Workers.
MIT License
715 stars 41 forks source link

smart routing config setting #139

Open gedw99 opened 1 day ago

gedw99 commented 1 day ago

[placement]
mode = "smart"

https://developers.cloudflare.com/workers/configuration/smart-placement/

This mades a huge difference when you need to connect to your own DB like I do.

I use PB / SQLITE

syumai commented 1 day ago

MySQL Blog server example should contain that config. https://github.com/syumai/workers/tree/main/_examples/mysql-blog-server

gedw99 commented 1 day ago

MySQL Blog server example should contain that config. https://github.com/syumai/workers/tree/main/_examples/mysql-blog-server

That’s a perfect example . Thanks @syumai