Skip to content

Commit ba78601

Browse files
made proxy url https
1 parent e0581d0 commit ba78601

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
@@ -15,7 +15,7 @@ if (!API_HOST) {
1515
// const BACKEND_URL = `http://${API_HOST}:${API_PORT}/api`;
1616
// if API_HOST is not set, use http://app:3000
1717

18-
const BACKEND_URL = API_HOST ? `http://${API_HOST}/api` : 'http://app:3000/api';
18+
const BACKEND_URL = API_HOST ? `https://${API_HOST}/api` : 'http://app:3000/api';
1919

2020
export default defineConfig(({ mode }) => ({
2121
root: __dirname,

0 commit comments

Comments
 (0)