fix(backend/UtilityService): 非標準ポート番号環境でURIのローカル判定が常にfalseになる問題を修正 (MisskeyIO#867)
This commit is contained in:
parent
3750888c6a
commit
b5a796ffd1
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export class UtilityService {
|
|||
|
||||
@bindThis
|
||||
public isUriLocal(uri: string): boolean {
|
||||
return this.normalizeHost(this.config.hostname) === this.extractHost(uri);
|
||||
return this.normalizeHost(this.config.host) === this.extractHost(uri);
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
|
Loading…
Reference in a new issue