Admin App
1. Configuration
Open file from lib/config/NetConfig.dart
, and set the apiUrl
and refreshTokenUrl
apis for admin app, host and port must reference to your backend server.
class NetConfig {
/**
* base api url
*/
static final String apiUrl = "http://192.168.1.8:5000";
/**
* refresh token url that use for get access token when access token expired
*/
static final String refreshTokenUrl = "http://192.168.1.8:5000/api/en/admin/token";
Last updated