From 051c05f43f079d07fffb85c75564314a0c8df991 Mon Sep 17 00:00:00 2001 From: whysman Date: Wed, 13 Nov 2024 00:00:13 -0500 Subject: [PATCH] Minor fix to variable declaration --- lib/status_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/status_page.dart b/lib/status_page.dart index de5092d..97a7537 100644 --- a/lib/status_page.dart +++ b/lib/status_page.dart @@ -24,9 +24,9 @@ class StatusPageState extends State with WidgetsBindingObserver { late StreamController controller; List> messages = []; final Map _imageCache = {}; - final wsBaseUrl = String.fromEnvironment('WS_BASE_URL', + static const wsBaseUrl = String.fromEnvironment('WS_BASE_URL', defaultValue: 'ws://localhost:8080'); - final restBaseUrl = String.fromEnvironment('REST_BASE_URL', + static const restBaseUrl = String.fromEnvironment('REST_BASE_URL', defaultValue: 'http://localhost:8080'); @override