fix(server): add basic auth support (#16740)
* "add basic auth support" * "fix format" * fix: lint --------- Co-authored-by: Elliot <elliot@elliotbrandwein.com> Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
@@ -345,6 +345,11 @@ describe(SystemConfigService.name, () => {
|
||||
{ should: 'with a trailing slash', externalDomain: 'https://demo.immich.app/' },
|
||||
{ should: 'without a trailing slash', externalDomain: 'https://demo.immich.app' },
|
||||
{ should: 'with a port', externalDomain: 'https://demo.immich.app:42', result: 'https://demo.immich.app:42' },
|
||||
{
|
||||
should: 'with basic auth',
|
||||
externalDomain: 'https://user:password@example.com:123',
|
||||
result: 'https://user:password@example.com:123',
|
||||
},
|
||||
];
|
||||
|
||||
for (const { should, externalDomain, result } of externalDomainTests) {
|
||||
|
||||
Reference in New Issue
Block a user