From cfd7362c8a6357e138ad82a8900639866067069c Mon Sep 17 00:00:00 2001 From: derek nowicki Date: Sun, 10 Mar 2024 19:28:17 -0700 Subject: [PATCH] update urls for 21x --- qml/pages/Exhibitors/Exhibitors.qml | 2 +- qml/pages/Home/AnnouncementsModel.qml | 2 +- qml/pages/Schedule/SignModel.qml | 2 +- qml/pages/Speakers/SpeakersModel.qml | 2 +- qml/pages/SpecialEvents/SpecialEvents.qml | 2 +- qml/pages/components/JSONListModel/JSONListModel.qml | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/qml/pages/Exhibitors/Exhibitors.qml b/qml/pages/Exhibitors/Exhibitors.qml index 60cee68..eda2d46 100644 --- a/qml/pages/Exhibitors/Exhibitors.qml +++ b/qml/pages/Exhibitors/Exhibitors.qml @@ -6,7 +6,7 @@ WebView { width: window.width height: window.height - url: "https://www.socallinuxexpo.org/scale/20x/exhibitors" + url: "https://www.socallinuxexpo.org/scale/21x/exhibitors" // Used to move the WebView when the drawer is opened due to https://doc.qt.io/qt-5/qtwebview-index.html#Limitations x: window.width * window.drawerPosition diff --git a/qml/pages/Home/AnnouncementsModel.qml b/qml/pages/Home/AnnouncementsModel.qml index f6fbc77..74e8fd3 100644 --- a/qml/pages/Home/AnnouncementsModel.qml +++ b/qml/pages/Home/AnnouncementsModel.qml @@ -5,7 +5,7 @@ import "qrc:/js/database.js" as DB XmlListModel{ id: announcementsModel - source:"https://www.socallinuxexpo.org/announcementappdata/20x" + source:"https://www.socallinuxexpo.org/announcementappdata/21x" query: "/nodes/node" XmlRole { id: titleRole; name: "title"; query: "Title/string()" } diff --git a/qml/pages/Schedule/SignModel.qml b/qml/pages/Schedule/SignModel.qml index e5c7801..13e6fd4 100644 --- a/qml/pages/Schedule/SignModel.qml +++ b/qml/pages/Schedule/SignModel.qml @@ -9,7 +9,7 @@ Item { JSONListModel { id: jsonModel - source: "https://scale-app-backend.onrender.com/events/" + day + source: "https://scale-app-backend-113205d83b1f.herokuapp.com/events/" + day } function setDay(currentDay) { diff --git a/qml/pages/Speakers/SpeakersModel.qml b/qml/pages/Speakers/SpeakersModel.qml index 4272930..31148b6 100644 --- a/qml/pages/Speakers/SpeakersModel.qml +++ b/qml/pages/Speakers/SpeakersModel.qml @@ -3,5 +3,5 @@ import QtQuick 2.0 import "../components/JSONListModel" JSONListModel { - source: "https://scale-app-backend.onrender.com/speakers" + source: "https://scale-app-backend-113205d83b1f.herokuapp.com/speakers" } diff --git a/qml/pages/SpecialEvents/SpecialEvents.qml b/qml/pages/SpecialEvents/SpecialEvents.qml index a483a1a..c8b1f7a 100644 --- a/qml/pages/SpecialEvents/SpecialEvents.qml +++ b/qml/pages/SpecialEvents/SpecialEvents.qml @@ -6,7 +6,7 @@ WebView { width: window.width height: window.height - url: "https://www.socallinuxexpo.org/scale/20x/events" + url: "https://www.socallinuxexpo.org/scale/21x/events" // Used to move the WebView when the drawer is opened due to https://doc.qt.io/qt-5/qtwebview-index.html#Limitations x: window.width * window.drawerPosition diff --git a/qml/pages/components/JSONListModel/JSONListModel.qml b/qml/pages/components/JSONListModel/JSONListModel.qml index 25f0c70..ffff4ae 100644 --- a/qml/pages/components/JSONListModel/JSONListModel.qml +++ b/qml/pages/components/JSONListModel/JSONListModel.qml @@ -23,7 +23,7 @@ Item { console.log(e.name + " - "+ e.message); } }else{ - json = JSON.parse(DB.get_json(source.replace("https://scale-app-backend.onrender.com/", '').replace("/", ''))); + json = JSON.parse(DB.get_json(source.replace("https://scale-app-backend-113205d83b1f.herokuapp.com/", '').replace("/", ''))); } }; @@ -44,6 +44,6 @@ Item { } //sync json data to the local database - DB.add_json(JSON.stringify(json), source.replace("https://scale-app-backend.onrender.com/", '').replace("/", '')); + DB.add_json(JSON.stringify(json), source.replace("https://scale-app-backend-113205d83b1f.herokuapp.com/", '').replace("/", '')); } }