chore(app): use backend api at 10.0.2.2:8080 and disable mock
This commit is contained in:
1 parent
2b51111a04
commit
f0184b94a3
1 file changed
+1
-1
@@ -70,7 +70,7 @@ fun App() {
|
|||||||
|
|
||||||
val productRepository = remember {
|
val productRepository = remember {
|
||||||
ProductRepository(
|
ProductRepository(
|
||||||
api = ProductApi(baseUrl = "https://example.com", useMock = true)
|
api = ProductApi(baseUrl = "http://10.0.2.2:8080", useMock = false)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
val cartRepository = remember { CartRepository() }
|
val cartRepository = remember { CartRepository() }
|
||||||
|
|||||||
Reference in new issue
Block a user