Log a warning in the UI when falling back to default connection parameters

This commit is contained in:
Alexandr Stelnykovych
2025-05-20 12:56:24 +03:00
parent 8035c3d5ac
commit 58ca3150e7
4 changed files with 22 additions and 21 deletions

View File

@@ -76,12 +76,13 @@ if (location.pathname !== "/prompt") {
} else {
// bootstrap the prompt interface
console.log("[INFO] Bootstrapping prompt entry point.");
bootstrapApplication(PromptEntryPointComponent, {
providers: [
provideHttpClient(),
importProvidersFrom(PortmasterAPIModule.forRoot({
websocketAPI: "ws://127.0.0.1:817/api/database/v1",
httpAPI: "http://127.0.0.1:817/api"
websocketAPI: "ws://localhost:817/api/database/v1",
httpAPI: "http://localhost:817/api"
})),
NotificationsService,
{