yznts / kyoto

Asynchronous frontends with Go
https://pkg.go.dev/github.com/yznts/kyoto/v3
MIT License
651 stars 28 forks source link

Provide an option for changing SSA endpoint #84

Closed yznts closed 2 years ago

yznts commented 2 years ago

Need to provide a functionality for changing SSA endpoint.
On the server side, developers register handlers with providing endpoint, so server side code doesn't require any changes. Anyway, on the client-side endpoint is hardcoded.
We can extend existing dynamics template function with optional arguments, where we can specify endpoint. F.e. {{ dynamics '/custom/ssa/path/' }}