0
0

000webhostのサブドメインを確認

Posted at

See the Pen Check 000webhost subdomain by John Doe (@04) on CodePen.

ソースコード


Deno.serve(async (req: Request) => {
    const r = await fetch(`https://${new URL(req.url).pathname.slice(1)}.000webhostapp.com/`)
    return new Response(r.status === 404, {headers: {'Access-Control-Allow-Origin': '*'}})
});

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0