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:
@@ -98,7 +98,7 @@ export interface VoiceStreamConfig {
|
||||
|
||||
export const DEFAULT_VOICE_STREAM_CONFIG: VoiceStreamConfig = {
|
||||
apiBase: '/api/v1',
|
||||
apiOrigin: '',
|
||||
apiOrigin: 'http://192.168.180.151:1322',
|
||||
inputSampleRate: 16000,
|
||||
outputSampleRate: 24000,
|
||||
frameMs: 20,
|
||||
|
||||
Reference in New Issue
Block a user