Change the default redirect to hostname.

This commit is contained in:
Bauke 2022-11-15 12:59:03 +01:00
parent a05f54306a
commit 645e0e066a
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ export class PageMain extends Component<Props, State> {
id: await storage.nextRedirectId(), id: await storage.nextRedirectId(),
matcherType: 'hostname', matcherType: 'hostname',
matcherValue: 'example.com', matcherValue: 'example.com',
redirectType: 'simple', redirectType: 'hostname',
redirectValue: 'example.org', redirectValue: 'example.org',
}); });
await storage.savePrepared(await storage.prepareForStorage(redirect)); await storage.savePrepared(await storage.prepareForStorage(redirect));