Skip to content

Commit 6fa540f

Browse files
Patch http Url in build.func and /data/page.tsx (#1849)
1 parent ca7fb9b commit 6fa540f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/app/data/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const DataFetcher: React.FC = () => {
4040
useEffect(() => {
4141
const fetchData = async () => {
4242
try {
43-
const response = await fetch("http://api.htl-braunau.at/data/json");
43+
const response = await fetch("https://api.htl-braunau.at/data/json");
4444
if (!response.ok) throw new Error("Failed to fetch data: ${response.statusText}");
4545
const result: DataModel[] = await response.json();
4646
setData(result);

misc/build.func

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ advanced_settings() {
792792
}
793793

794794
post_to_api() {
795-
local API_URL="http://api.community-scripts.org/upload"
795+
local API_URL="https://api.community-scripts.org/upload"
796796
local pve_version="not found"
797797
pve_version=$(pveversion | awk -F'[/ ]' '{print $2}')
798798

0 commit comments

Comments
 (0)