Contentful logo

Contentful Community

Github hosted extension - refused to connect

I created a simple extension, which works fine when hosted inside CF.

I’m trying to now host it on Github, but whatever I try, the editor says ‘refused to connect’.
I tried

What am I doing wrong?

1 Like

Hey @jvantroyen

In order for your app to work you’ll need to serve your HTML file. Just linking to GitHub like this unfortunately won’t do that.

As your code is already on GitHub I suggest that you try using GitHub Pages to deploy your extension, which should then work inside the app.

1 Like

Ah, that was the missing link.
Thank you very much.