actually change the API url to the correct prod one :)
This commit is contained in:
@@ -4,9 +4,9 @@ import 'package:http/http.dart' as http;
|
|||||||
import 'package:frontend/model/quote.dart';
|
import 'package:frontend/model/quote.dart';
|
||||||
|
|
||||||
class QuoteRepository {
|
class QuoteRepository {
|
||||||
//static final String _realApiBaseUrl = 'https://hlaskovnik-reimagined-latest.onrender.com';
|
static final String _realApiBaseUrl = 'https://hlaskovnik-reimagined-latest.onrender.com';
|
||||||
static final String _testApiBaseUrl = 'http://localhost:8080';
|
//static final String _testApiBaseUrl = 'http://localhost:8080';
|
||||||
static final String _apiBaseUrl = _testApiBaseUrl;
|
static final String _apiBaseUrl = _realApiBaseUrl;
|
||||||
static final String _apiKey = "2ogD5kc4sw3JVZoouQSV0w3LGRjSj5IjVFnAnk7IRCIK0ktONCeoOYinbNLSIHuU";
|
static final String _apiKey = "2ogD5kc4sw3JVZoouQSV0w3LGRjSj5IjVFnAnk7IRCIK0ktONCeoOYinbNLSIHuU";
|
||||||
static final String _quotesEndpoint = '/quotes';
|
static final String _quotesEndpoint = '/quotes';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user