I have a GeoJSON file saved locally and it is also present on GeoServer. I can successfully load it as a vector layer in my OpenLayers map when pointing to its GeoServer URL.
Is it possible to load the locally saved file without the use of GeoServer?
This is the error I get when I try to load it locally:
Cross origin requests are only supported for protocol schemes:
http, data, chrome, chrome-extension, https*"