Patch http Url in build.func and /data/page.tsx (#1849)

This commit is contained in:
Michel Roegl-Brunner
2025-01-29 19:37:45 +01:00
committed by GitHub
parent ca7fb9b929
commit 6fa540f0da
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ const DataFetcher: React.FC = () => {
useEffect(() => {
const fetchData = async () => {
try {
const response = await fetch("http://api.htl-braunau.at/data/json");
const response = await fetch("https://api.htl-braunau.at/data/json");
if (!response.ok) throw new Error("Failed to fetch data: ${response.statusText}");
const result: DataModel[] = await response.json();
setData(result);