From 87d201376f0daf3a213182bf1e82a2b97d989a23 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Thu, 31 Oct 2024 18:43:47 -0400 Subject: [PATCH] Update readme. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b0ef5c..7160b7b 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_BONSAI_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