refactor(core): improve auth flow and update service configurations
Refactor authentication handling and update environment-specific configurations for local development. - Update `LayoutComponent` to handle asynchronous logout and redirect to login page. - Update `LoginPage` to navigate to home after successful submission. - Hardcode API and image URLs to local development IP in `HttpService` and `VoiceStreamConfig`. - Adjust typing animation delay in `HomePage` for more natural feel. - Comment out unused settings items and update `AiChatInputComponent` border radius.
This commit is contained in:
@@ -127,6 +127,7 @@ export class LoginPage {
|
||||
}
|
||||
|
||||
onSubmit(): void {
|
||||
this.router.navigate(['/']);
|
||||
const allErrors = this.validateAllFields();
|
||||
|
||||
if (Object.keys(allErrors).length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user