Update baseUrl to Railway production URL
This commit is contained in:
parent
f119248ebd
commit
3f45dce08b
|
|
@ -4,8 +4,8 @@ import 'dart:convert';
|
||||||
|
|
||||||
class MLService {
|
class MLService {
|
||||||
// API URL Railway Flask backend.
|
// API URL Railway Flask backend.
|
||||||
static const String baseUrl = 'http://127.0.0.1:5000';
|
static const String baseUrl = 'https://web-production-c3c06.up.railway.app';
|
||||||
//https://web-production-c3c06.up.railway.app
|
//http://127.0.0.1:5000
|
||||||
static const int timeoutSeconds = 30;
|
static const int timeoutSeconds = 30;
|
||||||
|
|
||||||
static dynamic _tryDecodeJsonBody(String body) {
|
static dynamic _tryDecodeJsonBody(String body) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue