mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 18:04:38 +00:00
Patch http Url in build.func and /data/page.tsx (#1849)
This commit is contained in:
parent
ca7fb9b929
commit
6fa540f0da
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue