Skip to content

Commit ae24fc5

Browse files
authored
Merge branch 'prod' into pre
2 parents 6106b1d + 0dcc577 commit ae24fc5

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- name: List running containers
4747
run: sudo docker ps
4848

49+
4950
scan_with_trivy:
5051
name: scan with trivy
5152
needs: docker_compose

ia4birds-all/ai4birds-web/ai4birds-web-app-backend/config/cron.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function isLastDayOfMonth(): boolean {
2020
cron.schedule('0 0 * * *', async () => {
2121
if (isLastDayOfMonth()) {
2222
try {
23-
const response = await axios.get<DataBird>(`${globalConfig.pythonURL}/dataBird/`);
23+
const response = await axios.get<DataBird>(`${globalConfig.pythonURL}/dataBird`);
2424
const dataBirdData = response.data;
2525

2626
await redis.set('dataBirdKey', JSON.stringify(dataBirdData));

ia4birds-all/ai4birds-web/ai4birds-web-app-backend/controllers/map.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const getWindMapData = async (req, res) => {
170170
console.log(req.body);
171171

172172
// Hacer la solicitud al mapa eólico ibérico
173-
const response = await axios.post(`${globalConfig.pythonURL}/windmap/`, {
173+
const response = await axios.post(`${globalConfig.pythonURL}/windmap`, {
174174
lat: lat,
175175
lon: lng,
176176
z: z

ia4birds-all/ai4birds-web/ai4birds-web-app-frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ export default defineConfig({
1515
},
1616
},
1717
server: {
18-
allowedHosts: ['ia4birds-pre.der.usal.es'],
18+
allowedHosts: ['ia4birds-platform.air-institute.com'],
1919
},
2020
});

0 commit comments

Comments
 (0)