mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-27 16:24:07 +02:00
use deployment
This commit is contained in:
parent
9a6d570a8a
commit
5625526010
@ -10,8 +10,7 @@ import 'package:mobile/results.dart';
|
|||||||
import 'package:mobile/server/server.dart';
|
import 'package:mobile/server/server.dart';
|
||||||
|
|
||||||
class BackendServer implements Server {
|
class BackendServer implements Server {
|
||||||
final _apiUrl = "http://192.168.1.128:8080/api";
|
final _apiUrl = "https://h4-sm.mercantec.tech/api";
|
||||||
// final _apiUrl = "http://127.0.0.1:8080/api";
|
|
||||||
|
|
||||||
Future<Result<dynamic, String>> _postJson<Body>({
|
Future<Result<dynamic, String>> _postJson<Body>({
|
||||||
required String endpoint,
|
required String endpoint,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user