glanceapp / glance

A self-hosted dashboard that puts all your feeds in one place
GNU Affero General Public License v3.0
8.56k stars 297 forks source link

Set Widget-Content-Type somehow without response header #235

Open yyli opened 1 month ago

yyli commented 1 month ago

I'm using windmill to host basically all my webhooks and i wanted to use to it generate extension outputs, but the response I can't edit response headers for.

Is it possible to allow extensions to configure the Widget-Content-Type in the configuration parameters so that it can always be HTML?

svilenmarkov commented 1 month ago

I'll add a fallback-content-type property in v0.7.0 that would allow you to do this.