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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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);