n8n-io / discourse-n8n-wf

Discourse plugin for pretty rendering of n8n workflow code
5 stars 2 forks source link

Make configuration for src #3

Open christophdb opened 2 months ago

christophdb commented 2 months ago

It would be great to make the src customizable.

image

janober commented 2 months ago

Considering the image is a screenshot of the documentation of the attributes I would have expected that it means it can be customised. Do you mean that the attribute does actually not exist or work?

christophdb commented 2 months ago

I am sorry. This image is from: https://n8n-io.github.io/n8n-demo-webcomponent/api/.

The attributes exist in your "Workflow preview web component", but currently it is not possible to customize this value in the discourse plugin. The workflows are always send to your n8n-preview-service.internal.n8n.cloud. But I would like to use my own n8n system. So, a customizable option would be great.

Or let me say it this way: there is an option for this discourse plugin, but it is not used. If I can add here my own url and if it would be used, than it would be perfect. But currently this value is not used. It is ignored as far as I can tell because I can enter whatever I want. image