Skip to content

Commit 7e10f16

Browse files
committed
Hapus karakter "/" diakhir dari hostname
1 parent 0b87d05 commit 7e10f16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/feature/presentation/page/setup_credential/setup_credential_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class _SetupCredentialPageState extends State<SetupCredentialPage> {
148148
) as bool?;
149149
}
150150
if (isContinue != null && isContinue) {
151-
final hostname = controllerHostname.text.trim();
151+
final hostname = helper.removeTrailingSlash(controllerHostname.text.trim()).trim();
152152
await sharedPreferencesManager.putString(SharedPreferencesManager.keyDomainApi, hostname);
153153
helper.setDomainApiToFlavor(hostname);
154154
di.init();

0 commit comments

Comments
 (0)