Skip to content

Commit dc68a09

Browse files
committed
Change API url
1 parent 1dfe565 commit dc68a09

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

frontend/src/components/NdviGraphs/NdviComparisonGraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default {
5454
const aggregationOptions = ["Mean", "Median", "Max", "Min"]
5555
5656
const fetchNdviData = async (params) => {
57-
const apiUrl = 'http://localhost:8000/index/ndvi'
57+
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/index/ndvi'
5858
try {
5959
const response = await axios.get(apiUrl, { params })
6060
ndviData.value = response.data

frontend/src/components/NdviGraphs/NdviOverlayGraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
const years = [2018, 2019, 2020, 2021, 2022, 2023]
2626
2727
const fetchNdviData = async (params) => {
28-
const apiUrl = 'http://localhost:8000/index/ndvi'
28+
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/index/ndvi'
2929
try {
3030
const response = await axios.get(apiUrl, { params })
3131
ndviData.value = response.data

frontend/src/components/NdviGraphs/NdviSelectMonthGraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default {
4242
const endDate = ref(1704063599) // 2023-12-31
4343
4444
const fetchNdviData = async () => {
45-
const apiUrl = 'http://localhost:8000/index/ndvi'
45+
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/index/ndvi'
4646
try {
4747
const response = await axios.get(apiUrl, {
4848
params: {

frontend/src/components/WeatherGraphs/AugustSoilTempGraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020
const plotlyChart = ref(null);
2121
2222
const fetchData = async () => {
23-
const apiUrl = 'http://localhost:8000/weather/index';
23+
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
2424
2525
const params = {
2626
weatherVariable: "soil_temperature_0_to_7cm",

frontend/src/components/WeatherGraphs/MedianTempGraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default {
3636
const plotlyChart = ref(null);
3737
3838
const fetchTemperatureData = async () => {
39-
const apiUrl = 'http://localhost:8000/weather/index';
39+
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
4040
4141
const params = {
4242
weatherVariable: "temperature_2m",

frontend/src/components/WeatherGraphs/SelectMonthSoilTempGraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default {
4141
const plotlyChart = ref(null);
4242
4343
const fetchData = async () => {
44-
const apiUrl = 'http://localhost:8000/weather/index';
44+
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
4545
4646
const params = {
4747
weatherVariable: "soil_temperature_0_to_7cm",

frontend/src/components/WeatherGraphs/SoilMoistureGraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
const plotlyChart = ref(null);
3737
3838
const fetchData = async () => {
39-
const apiUrl = 'http://localhost:8000/weather/index';
39+
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
4040
4141
const params = {
4242
weatherVariable: "soil_temperature_0_to_7cm",

frontend/src/components/WeatherGraphs/SoilTempGraph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
const plotlyChart = ref(null);
3737
3838
const fetchTemperatureData = async () => {
39-
const apiUrl = 'http://localhost:8000/weather/index';
39+
const apiUrl = 'https://thf-climate-run-1020174331409.europe-west3.run.app/weather/index';
4040
4141
const params = {
4242
weatherVariable: "soil_temperature_0_to_7cm",

0 commit comments

Comments
 (0)