Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
library-app-flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ilham Maulana
library-app-flutter
Commits
588b8b6b
Commit
588b8b6b
authored
Aug 12, 2024
by
Ilham Maulana
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: API endpoint use hosted domain
parent
ff6e0c6f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
auth_provider.dart
lib/src/providers/auth_provider.dart
+1
-1
book_provider.dart
lib/src/providers/book_provider.dart
+1
-1
No files found.
lib/src/providers/auth_provider.dart
View file @
588b8b6b
...
...
@@ -11,7 +11,7 @@ import 'package:library_app/src/models/user.dart';
class
AuthProvider
with
ChangeNotifier
{
final
storage
=
const
FlutterSecureStorage
();
String
baseUrl
=
'http://
localhost:8000
/api/v1'
;
String
baseUrl
=
'http://
ilhammaulana.pythonanywhere.com
/api/v1'
;
String
?
message
;
User
?
user
;
...
...
lib/src/providers/book_provider.dart
View file @
588b8b6b
...
...
@@ -4,7 +4,7 @@ import 'package:flutter/foundation.dart';
import
'package:http/http.dart'
as
http
;
class
BookProvider
with
ChangeNotifier
{
String
baseUrl
=
'http://
localhost:8000
/api/v1'
;
String
baseUrl
=
'http://
ilhammaulana.pythonanywhere.com
/api/v1'
;
List
<
dynamic
>?
books
;
List
<
dynamic
>?
categories
;
Category
?
category
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment