1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-02-01 16:51:52 +00:00

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(() => { useEffect(() => {
const fetchData = async () => { const fetchData = async () => {
try { 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}"); if (!response.ok) throw new Error("Failed to fetch data: ${response.statusText}");
const result: DataModel[] = await response.json(); const result: DataModel[] = await response.json();
setData(result); setData(result);

View File

@ -792,7 +792,7 @@ advanced_settings() {
} }
post_to_api() { post_to_api() {
local API_URL="http://api.community-scripts.org/upload" local API_URL="https://api.community-scripts.org/upload"
local pve_version="not found" local pve_version="not found"
pve_version=$(pveversion | awk -F'[/ ]' '{print $2}') pve_version=$(pveversion | awk -F'[/ ]' '{print $2}')