From 58d0c29ee4bf596b1762081d0ad4b513988303b9 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Thu, 31 Oct 2024 19:05:06 -0400 Subject: [PATCH] Update readme. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 84e44bb..9311139 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,7 @@ $ npm run devserver By default, the configuration in index.html uses the CollectionSpace services API located at http://localhost:8180. To run the application against CollectionSpace services located on a different host, edit index.html, and change the `serverUrl` configuration property. Note that the -specified server must be configured to allow CORS requests from http://localhost:8080. +CollectionSpace services on the specified server must have been deployed with the build-time +environment variable `CSPACE_PUBLICART_UI_BASE_URL_OPT` set to `http://localhost:8080/` (note the +trailing slash). This ensures that CORS and OAuth on the server are configured to allow connections +from the locally running UI.