Fix URL update script
This commit is contained in:
parent
8ea3b300c0
commit
a84384df34
1 changed files with 2 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ Future<void> _updateVersion(String version) async {
|
||||||
|
|
||||||
Future<void> _updateUrl(String url) async {
|
Future<void> _updateUrl(String url) async {
|
||||||
await _replaceInFile(
|
await _replaceInFile(
|
||||||
'lib/screens/main_screen.dart',
|
'lib/preferences.dart',
|
||||||
RegExp(r'https://demo\.traccar\.org'),
|
RegExp(r'https://demo\.traccar\.org:5055'),
|
||||||
url,
|
url,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue