Everything in the question.
Additional info:
and I still get "Access to fetch at 'http://localhost:7200/repositories/...from origin 'http://localhost:8080' has been blocked by CORS policy...
The quickest way to enable the CORS functionality is to use these two Java parameters: ./graphdb -Dgraphdb.workbench.cors.enable=true -Dgraphdb.workbench.cors.origin=* Alternatively, you can add them to graphdb.in.sh / graphdb.in.cmd. To check what's the active configuration see:
Help > System information > Configuration parameters in the Workbench
On Windows, I edited the file app\GraphDB.cfg and added those lines:
java-options=-Dgraphdb.workbench.cors.enable=true
java-options=-Dgraphdb.workbench.cors.origin=*
under the [JavaOptions] heading.
Then, rerunning GraphDB, and checking at http://localhost:7200/sysinfo should show, in the third tab "Config parameters", that CORS is indeed enabled:
graphdb.workbench.cors.enable true explicit
graphdb.workbench.cors.expose-headers default
graphdb.workbench.cors.origin * explicit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With