Add variables for the Open Weather config rather than holding it in the min file.
This commit is contained in:
parent
4483c1ebb0
commit
c2995dac6d
@ -1,5 +1,15 @@
|
||||
// This file needs renamed `local.dart` when implemented.
|
||||
|
||||
// Basic
|
||||
// Project-wide configuration variables for both testing and production.
|
||||
const bool debug = false;
|
||||
const bool debug = true;
|
||||
const bool debugVerbose = false;
|
||||
const int limitRefreshSeconds = 60;
|
||||
|
||||
// OpenWeather Constants
|
||||
// Settings for how to use the OpenWeather API.
|
||||
const String openWeatherProtocol = "https://";
|
||||
const String openWeatherHost = "api.openweathermap.org";
|
||||
const String openWeatherURI = "/data/2.5/forecast";
|
||||
const String openWeatherAPI =
|
||||
"$openWeatherProtocol$openWeatherHost$openWeatherURI";
|
||||
|
Loading…
x
Reference in New Issue
Block a user