Skip to content

Commit de17a7c

Browse files
replace throw error with console.log
1 parent 03085d1 commit de17a7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codewit/client/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dotenv.config({ path: '../../.env' });
99
const API_PORT = process.env.API_PORT
1010
const API_HOST = process.env.API_HOST
1111
if (!API_HOST) {
12-
throw new Error('BACKEND_URL is not set');
12+
console.log('BACKEND_URL is not set');
1313
}
1414

1515
// const BACKEND_URL = `http://${API_HOST}:${API_PORT}/api`;

0 commit comments

Comments
 (0)