:style $URL doesn't work

Hi everyone, I'm writing this:

:style https://raw.githubusercontent.com/HUBioDataLab/CROssBARv2/main/neo4j_browser/style.grass

And getting this as a result:

Neo4j version:

Version: 	5.26.0
Edition: 	community
Name: 	neo4j

There's little to no documentation about this behavior, and none of the topics before addressed this, so I had to ask.

Thank you for your time, wish you a good day.

  • Melih

can you try setting browser.remote_content_hostname_whitelist to allow raw.githubusercontent.com and see if that helps

1 Like

Hi John, thanks a lot for your input!

I tried with these lines in neo4j.conf

browser.remote_content_hostname_whitelist=raw.githubusercontent.com
browser.remote_content_hostname_whitelist=https://raw.githubusercontent.com
browser.remote_content_hostname_whitelist=https://raw.githubusercontent.com/HUBioDataLab/CROssBARv2/main/neo4j_browser/style.grass

However, neither of them worked. The error is the same. Is there anything I'm missing?

Just after writing this, it worked. Maybe I should've waited a bit and then restarted the browser before each trial and error.

browser.remote_content_hostname_whitelist=raw.githubusercontent.com

This works fine. Thank you for the solution, the previous reply was my mistake.

1 Like