mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-31 10:18:19 +02:00 
			
		
		
		
	Add backend support for alternate base dir (subdir/subpath) hosting
To use this, include a path in the `DOMAIN` URL, e.g.: * `DOMAIN=https://example.com/custom-path` * `DOMAIN=https://example.com/multiple/levels/are/ok`
This commit is contained in:
		| @@ -172,7 +172,7 @@ fn hibp_breach(username: String) -> JsonResult { | ||||
|             "BreachDate": "2019-08-18T00:00:00Z", | ||||
|             "AddedDate": "2019-08-18T00:00:00Z", | ||||
|             "Description": format!("Go to: <a href=\"https://haveibeenpwned.com/account/{account}\" target=\"_blank\" rel=\"noopener\">https://haveibeenpwned.com/account/{account}</a> for a manual check.<br/><br/>HaveIBeenPwned API key not set!<br/>Go to <a href=\"https://haveibeenpwned.com/API/Key\" target=\"_blank\" rel=\"noopener\">https://haveibeenpwned.com/API/Key</a> to purchase an API key from HaveIBeenPwned.<br/><br/>", account=username), | ||||
|             "LogoPath": "/bwrs_static/hibp.png", | ||||
|             "LogoPath": "bwrs_static/hibp.png", | ||||
|             "PwnCount": 0, | ||||
|             "DataClasses": [ | ||||
|                 "Error - No API key set!" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user