Sorry I have to create a thread again, because my previous thread was closed
Unfortunately if domain is not whitelisted in
whitelisted_generic_onebox.rb it won’t be oneboxed. I am doing a test with my domain, and I don’t even receive
GET request. I also tried to test with
rake server as suggested here GitHub - discourse/onebox: A gem for turning URLs into website previews and it is the same behaviour.
The domain has to be whitelisted it seems. And it is stated in onebox documentation
- The domain must be whitelisted
I and I could not find you are doing any whitelisting in the discourse codebase.