79168776

Date: 2024-11-08 04:22:27
Score: 1
Natty:
Report link

enter code hereI encountered a similar issue and resolved it by adding multiple links to the configuration file located in public/env/config.js (and in config.testing.js).

To add multiple links to the same environment, you can specify them in the VITE_APP_UI_URL variable, separating each URL with a comma. This approach allows you to easily configure multiple links within the same environment.

//config.Testing.js

process.env.PORT = 3000;
process.env.HOST = 'localhost';
process.env.CLIENT_ID = 'your_client_id';
process.env.REDIRECT_URI = 'your_callback_endpoint';

var VITE_APP_UI_URL = "your_test_url_1 , your_test_url_2";
var VITE_SITE_KEY = "your_site_key";
var VITE_APP_API_BASEURL = "your_baseurl";

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Syed Farhan