Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update launchSettings to bind to all network interfaces to allow mobile phone debugging on same LAN (#315)

Leendert de Borst997335205f7b
diff --git a/src/AliasVault.Api/Properties/launchSettings.json b/src/AliasVault.Api/Properties/launchSettings.json
index 0d7629f45..325a23956 100644
--- a/src/AliasVault.Api/Properties/launchSettings.json
+++ b/src/AliasVault.Api/Properties/launchSettings.json
@@ -10,7 +10,7 @@
"DATA_PROTECTION_CERT_PASS": "Development"
},
"dotnetRunMessages": true,
- "applicationUrl": "http://localhost:5092"
+ "applicationUrl": "http://0.0.0.0:5092"
},
"https": {
"commandName": "Project",
@@ -22,7 +22,7 @@
"DATA_PROTECTION_CERT_PASS": "Development"
},
"dotnetRunMessages": true,
- "applicationUrl": "https://localhost:7223;http://localhost:5092"
+ "applicationUrl": "https://0.0.0.0:7223;http://0.0.0.0:5092"
},
"IIS Express": {
"commandName": "IISExpress",
@@ -38,7 +38,7 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
- "applicationUrl": "http://localhost:39952",
+ "applicationUrl": "http://0.0.0.0:39952",
"sslPort": 44368
}
}
diff --git a/src/AliasVault.Client/Properties/launchSettings.json b/src/AliasVault.Client/Properties/launchSettings.json
index a7b61d309..219ec72a3 100644
--- a/src/AliasVault.Client/Properties/launchSettings.json
+++ b/src/AliasVault.Client/Properties/launchSettings.json
@@ -1,13 +1,13 @@
{
- "$schema": "http://json.schemastore.org/launchsettings.json",
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:17474",
- "sslPort": 44330
- }
- },
+ "$schema": "http://json.schemastore.org/launchsettings.json",
+ "iisSettings": {
+ "windowsAuthentication": false,
+ "anonymousAuthentication": true,
+ "iisExpress": {
+ "applicationUrl": "http://localhost:17474",
+ "sslPort": 44330
+ }
+ },
"profiles": {
"http": {
"commandName": "Project",
@@ -24,7 +24,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
- "applicationUrl": "http://localhost:5067",
+ "applicationUrl": "http://0.0.0.0:5067",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Release"
}
@@ -34,7 +34,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
- "applicationUrl": "https://localhost:7103;http://localhost:5067",
+ "applicationUrl": "https://0.0.0.0:7103;http://0.0.0.0:5067",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
diff --git a/src/AliasVault.Client/Services/Auth/AliasVaultApiHandlerService.cs b/src/AliasVault.Client/Services/Auth/AliasVaultApiHandlerService.cs
index 0a50fcc17..f7375d456 100644
--- a/src/AliasVault.Client/Services/Auth/AliasVaultApiHandlerService.cs
+++ b/src/AliasVault.Client/Services/Auth/AliasVaultApiHandlerService.cs
@@ -15,6 +15,7 @@ using Microsoft.AspNetCore.Components;
/// This services handles all API requests to the AliasVault API and will add the access token to the request headers.
/// If a 401 unauthorized is returned by the API it will intercept this response and attempt to automatically refresh the access token.
/// </summary>
+/// <param name="serviceProvider">IServiceProvider instance.</param>
public sealed class AliasVaultApiHandlerService(IServiceProvider serviceProvider) : DelegatingHandler
{
/// <summary>