Skip to content

Commit 69dc6dc

Browse files
committed
updated fetch URLs for the Pcs and Weather components
1 parent ac4d6df commit 69dc6dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/components/Pcs.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import getDepth from './getJsonDepth';
55
const Pcs = () => {
66
const [pcsData, setPcsData] = useState(null);
77
const [error, setError] = useState(null);
8-
const url = "rigsnvapi-acdzcsh7a0fcf0dw.uksouth-01.azurewebsites.net/pcs_contracts";
8+
const url = "rigsnvapi.azurewebsites.net/pcs_contracts";
99
const [contractsNum, setContractsNum] = useState(null);
1010
const [contracts, setContracts] = useState(null);
1111

client/src/components/Weather.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ForecastStep from "./ForecastStep";
55
const Weather = () => {
66
const [weatherData, setWeatherData] = useState(null);
77
const [error, setError] = useState(null);
8-
const url = "rigsnvapi-acdzcsh7a0fcf0dw.uksouth-01.azurewebsites.net/weather";
8+
const url = "rigsnvapi.azurewebsites.net/weather";
99
const [timeSteps, setTimeSteps] = useState(null);
1010

1111
useEffect(() => {

0 commit comments

Comments
 (0)