From 38a85f9420d01ce6de18349c2484116c5082ab96 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Thu, 31 Oct 2024 18:41:59 -0400 Subject: [PATCH] Update readme. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a47d59..c74d758 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_ANTHRO_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. \ No newline at end of file