From 1d24bf2290e15172c7663c06f7ffde3d917e44dd Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Thu, 31 Oct 2024 18:55:54 -0400 Subject: [PATCH] Update readme. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a24e932..4da1283 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_LHMC_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