shas6395----- #56

Merged
shas6395 merged 7 commits from shas6395----- into master 2022-05-30 18:28:11 +02:00
Showing only changes of commit 5c428f8453 - Show all commits

View File

@ -24,8 +24,8 @@ import 'globals.dart' as globals;
void main() async { void main() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
// await Firebase.initializeApp(); // await Firebase.initializeApp();
//await loadAllVenues(); await loadAllVenues();
//await fetchWeather(); await fetchWeather();
runApp(MyApp()); runApp(MyApp());
} }
@ -33,7 +33,7 @@ void main() async {
Future fetchWeather() async { Future fetchWeather() async {
WeatherData tempWeather = WeatherData(0, 0); WeatherData tempWeather = WeatherData(0, 0);
Uri weatherDataURI = Uri.parse( Uri weatherDataURI = Uri.parse(
'https://group-4-75.pvt.dsv.su.se/target/weather-0.0.2-SNAPSHOT.war/weather'); 'https://group-4-75.pvt.dsv.su.se/target/info.war//weather');
final response = await http.get(weatherDataURI); final response = await http.get(weatherDataURI);
@ -67,7 +67,7 @@ class MyApp extends StatelessWidget {
Future loadAllVenues() async { Future loadAllVenues() async {
Uri venueDataURI = Uri.parse( Uri venueDataURI = Uri.parse(
'https://group-4-75.pvt.dsv.su.se/target/weather-0.0.4-SNAPSHOT.war/venue'); 'https://group-4-75.pvt.dsv.su.se/target/info.war//venue');
final response = await http.get(venueDataURI); final response = await http.get(venueDataURI);