update node version && url https

This commit is contained in:
2023-09-25 15:30:00 +02:00
parent 219f9dd137
commit a75f90dad9
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# develop stage # develop stage
FROM node:14.21.2-alpine as develop-stage FROM node:18.17.0-alpine as develop-stage
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm install -g npm@latest RUN npm install -g npm@latest

View File

@@ -15,7 +15,7 @@ const days = ref(0);
const calcular =async () => { const calcular =async () => {
const result = fetch( const result = fetch(
"http://api.openweathermap.org/data/2.5/forecast?lat=39.55&lon=-0.5667&units=metric&appid=1ce95ef35a6852cecee421a923fe4400" "https://api.openweathermap.org/data/2.5/forecast?lat=39.55&lon=-0.5667&units=metric&appid=1ce95ef35a6852cecee421a923fe4400"
) )
.then((response) => { .then((response) => {
console.log(response); console.log(response);