Skip to content

Commit

Permalink
include the stemmarest endpoint to env files for cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
schiwaa committed Nov 14, 2024
1 parent afa98e3 commit c2ccd7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file modified env.zip.gpg
Binary file not shown.
8 changes: 7 additions & 1 deletion frontend-e2e/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ const CY_STEMMAWEB_MIDDLEWARE_URL =
process.env.CY_STEMMAWEB_MIDDLEWARE_URL ||
'http://localhost:8888/stemmaweb/requests';

const CY_STEMMAREST_ENDPOINT =
process.env.CY_STEMMAREST_ENDPOINT ||
'http://localhost:8080/stemmarest';
/* 'http://127.0.0.1:8080/stemmarest'; */

const CY_MODE = process.env.CY_STEMMAWEB_FRONTEND_URL ? 'headless' : 'headed';

module.exports = {
CY_MODE,
CY_STEMMAWEB_FRONTEND_URL,
CY_STEMMAWEB_MIDDLEWARE_URL
CY_STEMMAWEB_MIDDLEWARE_URL,
CY_STEMMAREST_ENDPOINT
};

0 comments on commit c2ccd7f

Please sign in to comment.