Please help me, i try anything but not working, already follow the instructions https://wiki.lyrasis.org/display/DSDOC9x/REST+API
but nothing works, get error like this
500:1 Access to XMLHttpRequest at 'https://api-dspace.reformedindonesia.ac.id/server/api' from origin 'https://repository.reformedindonesia.ac.id' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
local.cfg
dspace.ui.url = https://repository.reformedindonesia.ac.id
dspace.server.url = https://api-dspace.reformedindonesia.ac.id/server
Additional URL of DSpace backend which could be used by DSpace frontend during SSR execution.May require a port number if not using standard ports (80 or 443)DO NOT end it with '/'.dspace.server.ssr.url = ${dspace.server.url}
rest.public.url = ${dspace.server.url}
dspace.name = DSpace - STTRI
Assetstore configurations have moved to config/modules/assetstore.cfgand config/spring/api/bitstore.xml.Additional storage options (e.g. Amazon S3) are available in assetstore.cfgassetstore.dir = ${dspace.dir}/assetstoreDefault language for metadata valuesrest.cors.allowed-origins = https://repository.reformedindonesia.ac.id
#default.language = en_US
im using cloudflare to tunnel both backend and frontend, ale
Solr server/webapp.DSpace uses Solr for all search/browse capability (and for usage statistics).Since DSpace 7, SOLR must be installed as a stand-alone servicesolr.server = http://90.90.90.10:8983/solr
Solr core name prefix.If you connect multiple instances of DSpace to a single Solr instance, youcan organize them with a common core name prefix.#solr.multicorePrefix =
usage-statistics.dbfile = /dspace/config/geoip/dbip-city-lite.mmdb
##########################
DATABASE CONFIGURATION##########################
DSpace ONLY supports PostgreSQL at this time.URL for connecting to database