File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const fetchMeasurement = async () => {
5
5
6
6
try {
7
7
const response = await fetch (
8
- `${ cors_anywhere } /https://acikveri.buski.gov.tr:9016/acik/yesil/v1/baraj/dolulukOrani/gunluk?barajID=1`
8
+ `https:// ${ cors_anywhere } /https://acikveri.buski.gov.tr:9016/acik/yesil/v1/baraj/dolulukOrani/gunluk?barajID=1`
9
9
) ;
10
10
if ( ! response . ok ) throw new Error ( "Network response was not ok." ) ;
11
11
const data = await response . json ( ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const fetchMeasurement2 = async () => {
5
5
6
6
try {
7
7
const response = await fetch (
8
- `${ cors_anywhere } /https://acikveri.buski.gov.tr:9016/acik/yesil/v1/baraj/dolulukOrani/gunluk?barajID=2`
8
+ `https:// ${ cors_anywhere } /https://acikveri.buski.gov.tr:9016/acik/yesil/v1/baraj/dolulukOrani/gunluk?barajID=2`
9
9
) ;
10
10
if ( ! response . ok ) throw new Error ( "Network response was not ok." ) ;
11
11
const data = await response . json ( ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const GeneralSituation = () => {
10
10
const fetchData = async ( ) => {
11
11
try {
12
12
const response = await fetch (
13
- `${ cors_anywhere } /https://acikveri.buski.gov.tr:9016/acik/yesil/v1/baraj`
13
+ `https:// ${ cors_anywhere } /https://acikveri.buski.gov.tr:9016/acik/yesil/v1/baraj`
14
14
) ;
15
15
const data = await response . json ( ) ;
16
16
const formattedData = data . sonuc . map ( ( baraj ) => ( {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const Generative = () => {
17
17
const fetchData = async ( ) => {
18
18
try {
19
19
const response = await fetch (
20
- `${ cors_anywhere } /https://www.beo.org.tr/nobet-belediye`
20
+ `https:// ${ cors_anywhere } /https://www.beo.org.tr/nobet-belediye`
21
21
) ;
22
22
if ( ! response . ok ) {
23
23
throw new Error ( "Veri çekme işlemi başarısız" ) ;
You can’t perform that action at this time.
0 commit comments