revert redundant host checks in ApResolver

Commit 373eca7a19 pushed by yume#47
Workflow lint.yml

lint (frontend)

Failure

Set up job4s
actions/checkout@v4.1.124s
pnpm/action-setup@v43s
actions/setup-node@v4.0.47s
corepack enable0s
pnpm i --frozen-lockfile22s
Restore eslint cache24s
pnpm --filter ${{ matrix.workspace }} run eslint --cache --cache-location ${{ env.eslint-cache-path }} --cache-strategy content7s
Complete job42s