- Introduced `auth.setup.js` to handle authentication against the live site and store the session state. - Created `live-race.spec.js` to test loading a live race page with an authenticated session, including cookie validation. - Added utility functions in `live-site-test-utils.js` for managing authentication, dismissing cookie banners, and checking UI states. - Included a temporary JSON file for live state inspection. - Updated deployment manifest to reflect new and modified files. - Implemented `_inc_faceai_identity.jsp` for managing FaceAI identity cookies and included it in relevant JSP files. - Added language management JavaScript in `lang.js`. - Adjusted `fotoCR-en.jsp` and `fotoCR.jsp` to include the FaceAI identity logic. - Created a tarball for staging deployment.
21 lines
920 B
Text
21 lines
920 B
Text
PORT=3001
|
|
FACEAI_FRONTEND_URL=http://localhost:5173
|
|
FACEAI_PUBLIC_BASE_URL=http://localhost:3001
|
|
FACEAI_LEGACY_RETURN_URL=http://localhost:3001/dev/legacy/return
|
|
FACEAI_LEGACY_HOME_URL=http://localhost:8080/index.jsp
|
|
FACEAI_ENABLE_LOCAL_LEGACY_STATIC=1
|
|
FACEAI_LOCAL_LEGACY_STATIC_ROOT=k:\various\regalamiunsorriso\www
|
|
FACEAI_SHARED_SECRET=change-me
|
|
FACEAI_SESSION_COOKIE=rus_faceai_session
|
|
FACEAI_REDIS_URL=redis://redis:6379
|
|
FACEAI_QUEUE_NAME=faceai-searches
|
|
FACEAI_RUNTIME_ROOT=/data/runtime
|
|
FACEAI_UPLOAD_ROOT=/data/runtime/uploads
|
|
FACEAI_LOG_ROOT=/data/logs
|
|
FACEAI_PKL_ROOT=/data/pkl
|
|
FACEAI_MATCHER_BINARY=/opt/face-recognition/face_matcher
|
|
LIVE_SITE_BASE_URL=https://www.regalamiunsorriso.it
|
|
LIVE_SITE_LOGIN_URL=https://www.regalamiunsorriso.it/login_clienti-it.html
|
|
LIVE_SITE_RACE_URL=https://www.regalamiunsorriso.it/42%20HALF%20MARATHON%20FIRENZE_gara-1018545---96-1.html
|
|
LIVE_SITE_USERNAME=
|
|
LIVE_SITE_PASSWORD=
|