update node version && url https
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# develop stage
|
||||
FROM node:14.21.2-alpine as develop-stage
|
||||
FROM node:18.17.0-alpine as develop-stage
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install -g npm@latest
|
||||
|
||||
@@ -15,7 +15,7 @@ const days = ref(0);
|
||||
|
||||
const calcular =async () => {
|
||||
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) => {
|
||||
console.log(response);
|
||||
|
||||
Reference in New Issue
Block a user