Able to use client app in subdirectories
This commit is contained in:
parent
7d13d219d1
commit
3435c1e07b
@ -40,13 +40,13 @@
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "500kb",
|
||||
"maximumError": "1mb"
|
||||
"maximumWarning": "1mb",
|
||||
"maximumError": "10mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "2kb",
|
||||
"maximumError": "4kb"
|
||||
"maximumWarning": "20kb",
|
||||
"maximumError": "40kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
|
@ -195,6 +195,7 @@ export class WebconsoleService {
|
||||
if (serverConnection) {
|
||||
serverConnection.subject$.complete();
|
||||
serverConnection.connectionStatus = ConnectionStatusEnum.Disconnected;
|
||||
this.webSocketClients[serverName]?.close();
|
||||
this.webSocketClients[serverName] = undefined;
|
||||
this.activeConnections = this.activeConnections.filter(e => e.serverName !== serverName);
|
||||
this.activeConnectionsChangedSubject$.next();
|
||||
|
@ -390,7 +390,3 @@ export class ConsoleComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//TODO falta por hacer:
|
||||
//1. Listado de activeConnections para desktop a modo pestañas
|
||||
//2. Listado de activeConnections en responsive
|
@ -5,7 +5,7 @@ import { TranslateHttpLoader } from "@ngx-translate/http-loader";
|
||||
import { LanguageService } from "../_services/language.service";
|
||||
|
||||
export const HttpLoaderFactory = (http: HttpClient): TranslateHttpLoader => {
|
||||
return new TranslateHttpLoader(http, "/assets/i18n/")
|
||||
return new TranslateHttpLoader(http, "./assets/i18n/")
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>WebConsole Client</title>
|
||||
<base href="/">
|
||||
<base href="./">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
</head>
|
||||
|
Loading…
x
Reference in New Issue
Block a user