Aethel Bot OSS repository! aethel.xyz
bot fun ai discord discord-bot aethel
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: try #5343 of fixing docker and status page

+7 -23
+4 -5
docker-compose.example.yml
··· 4 4 build: 5 5 context: . 6 6 args: 7 - - VITE_BOT_API_URL=${BOT_API_URL:-https://aethel.xyz} 8 - - VITE_STATUS_API_KEY=${STATUS_API_KEY} 9 - - VITE_FRONTEND_URL=${FRONTEND_URL:-https://aethel.xyz} 10 - - VITE_DISCORD_CLIENT_ID=${DISCORD_CLIENT_ID} 11 - - VITE_STATUS_API_KEY=${STATUS_API_KEY} 7 + - VITE_BOT_API_URL=${VITE_BOT_API_URL:-https://aethel.xyz} 8 + - VITE_STATUS_API_KEY=${VITE_STATUS_API_KEY} 9 + - VITE_FRONTEND_URL=${VITE_FRONTEND_URL:-https://aethel.xyz} 10 + - VITE_DISCORD_CLIENT_ID=${VITE_DISCORD_CLIENT_ID} 12 11 - STATUS_API_KEY=${STATUS_API_KEY} 13 12 - SOURCE_COMMIT=${SOURCE_COMMIT:-development} 14 13 container_name: aethel-bot
+1 -1
web/src/pages/LandingPage.tsx
··· 133 133 </p> 134 134 <div className="mt-8 flex flex-wrap justify-center gap-3 md:gap-4"> 135 135 <a 136 - href={`https://discord.com/oauth2/authorize?client_id=${import.meta.env.VITE_DISCORD_CLIENT_ID}`} 136 + href={`https://discord.com/oauth2/authorize?client_id=1371031984230371369`} 137 137 className="btn btn-discord" 138 138 target="_blank" 139 139 rel="noopener noreferrer"
+2 -17
web/src/pages/StatusPage.tsx
··· 3 3 4 4 async function getGitCommitHash() { 5 5 try { 6 - const apiUrl = import.meta.env.VITE_BOT_API_URL; 7 - if (!apiUrl) { 8 - console.error('VITE_BOT_API_URL is not defined'); 9 - return null; 10 - } 11 - const response = await fetch(`${apiUrl}/api/status`, { 6 + const response = await fetch('/api/status', { 12 7 headers: { 13 8 'X-API-Key': import.meta.env.VITE_STATUS_API_KEY || '', 14 9 }, ··· 33 28 34 29 async function getBotStatus() { 35 30 try { 36 - const baseUrl = import.meta.env.VITE_BOT_API_URL; 37 - if (!baseUrl) { 38 - console.error('VITE_BOT_API_URL is not defined'); 39 - return { 40 - status: 'offline', 41 - botStatus: 'disconnected', 42 - error: 'VITE_BOT_API_URL environment variable is not configured', 43 - lastChecked: new Date().toISOString(), 44 - }; 45 - } 46 - const url = `${baseUrl}/api/status`; 31 + const url = '/api/status'; 47 32 48 33 const controller = new AbortController(); 49 34 const timeout = 8000;