Skip to content

Commit

Permalink
Correct API endpoints in development environment
Browse files Browse the repository at this point in the history
This commit fixes the API endpoints in the Curator Dashboard, Submission Form, and Author Portal for the development environment. The endpoints were previously incorrect due to a typo in the URLs (double ".com"). This fix will allow these services to correctly connect to our development resources at Textpresso Lab via secure HTTPS.
  • Loading branch information
valearna committed Nov 20, 2023
1 parent 7b2253d commit 3d9e7ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/frontend/author_portal/.env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_API_DB_READ_ENDPOINT=https://api.acknowledge-dev.textpressolab.com.com/api/read_authdash
REACT_APP_API_DB_READ_ENDPOINT=https://api.acknowledge-dev.textpressolab.com/api/read_authdash
REACT_APP_REQUEST_AUTH=false
6 changes: 3 additions & 3 deletions src/frontend/curator_dashboard/.env.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
REACT_APP_API_DB_WRITE_ENDPOINT=https://api.acknowledge-dev.textpressolab.com.com/api/write
REACT_APP_API_DB_READ_ENDPOINT=https://api.acknowledge-dev.textpressolab.com.com/api/read
REACT_APP_API_DB_WRITE_ENDPOINT=https://api.acknowledge-dev.textpressolab.com/api/write
REACT_APP_API_DB_READ_ENDPOINT=https://api.acknowledge-dev.textpressolab.com/api/read
REACT_APP_API_READ_ENDPOINT=https://caltech-curation-dev.textpressolab.com/pub/cgi-bin/forms/textpresso/first_pass_api.cgi?action=jsonPaper
REACT_APP_API_AUTOCOMPLETE_ENDPOINT=https://caltech-curation-dev.textpressolab.com/pub/cgi-bin/forms/datatype_objects.cgi?action=autocompleteXHR
REACT_APP_API_DB_READ_ADMIN_ENDPOINT=https://api.acknowledge-dev.textpressolab.com.com/api/read_admin
REACT_APP_API_DB_READ_ADMIN_ENDPOINT=https://api.acknowledge-dev.textpressolab.com/api/read_admin
4 changes: 2 additions & 2 deletions src/frontend/submission_form/.env.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
REACT_APP_API_DB_WRITE_ENDPOINT=https://api.acknowledge-dev.textpressolab.com.com/api/write
REACT_APP_API_DB_READ_ENDPOINT=https://api.acknowledge-dev.textpressolab.com.com/api/read
REACT_APP_API_DB_WRITE_ENDPOINT=https://api.acknowledge-dev.textpressolab.com/api/write
REACT_APP_API_DB_READ_ENDPOINT=https://api.acknowledge-dev.textpressolab.com/api/read
REACT_APP_API_READ_ENDPOINT=https://caltech-curation-dev.textpressolab.com/pub/cgi-bin/forms/textpresso/first_pass_api.cgi?action=jsonPaper
REACT_APP_API_AUTOCOMPLETE_ENDPOINT=https://caltech-curation-dev.textpressolab.com/pub/cgi-bin/forms/datatype_objects.cgi?action=autocompleteXHR
REACT_APP_VERSION=5.0 (dev)

0 comments on commit 3d9e7ec

Please sign in to comment.