feat: replace IP with domain name
This commit is contained in:
@@ -33,7 +33,7 @@ class _ForgetPasswordPageState extends State<ForgetPasswordPage> {
|
||||
|
||||
void _fetchData() async {
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
@@ -93,7 +93,7 @@ class _ForgetPasswordPageState extends State<ForgetPasswordPage> {
|
||||
//_sendEmail(email, _generatedCode);
|
||||
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
|
||||
@@ -27,7 +27,7 @@ class _HistoricalRecordState extends State<HistoricalRecord> {
|
||||
print('connect');
|
||||
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
@@ -213,7 +213,7 @@ class _FallDetailPageState extends State<FallDetailPage> {
|
||||
|
||||
void _fetchData() async {
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'https://comprehensive-guardian.systems/',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
|
||||
@@ -43,7 +43,7 @@ class _PersonalInfoState extends State<PersonalInfo> {
|
||||
print('傳遞過來的 email: ${widget.email}');
|
||||
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
@@ -92,7 +92,7 @@ class _PersonalInfoState extends State<PersonalInfo> {
|
||||
|
||||
void _saveChanges() async {
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
@@ -342,7 +342,7 @@ class _BasicInfoPageState extends State<BasicInfoPage> {
|
||||
|
||||
void _saveChanges() async {
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
@@ -502,7 +502,7 @@ class _AccountPageState extends State<AccountPage> {
|
||||
|
||||
void _saveChanges() async {
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
|
||||
@@ -44,7 +44,7 @@ class _RegisterPageState extends State<RegisterPage> {
|
||||
|
||||
void _fetchData() async {
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
@@ -173,7 +173,7 @@ class _RegisterPageState extends State<RegisterPage> {
|
||||
void registerBtn() async {
|
||||
if (!_isDataCorrect()) return;
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
|
||||
@@ -37,7 +37,7 @@ class _MySqlDataState extends State<MySqlData> {
|
||||
print('connect');
|
||||
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
|
||||
@@ -52,7 +52,7 @@ class _LoginPageState extends State<LoginPage> {
|
||||
void _fetchData() async {
|
||||
//MYSQL
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
// host:'10.0.2.2',
|
||||
//127.0.0.1 10.0.2.2
|
||||
port: 33061,
|
||||
@@ -98,7 +98,7 @@ class _LoginPageState extends State<LoginPage> {
|
||||
|
||||
void loginBtn() async {
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
host: 'comprehensive-guardian.systems',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
password: 'Topic@2024',
|
||||
|
||||
Reference in New Issue
Block a user