Files
trading_bot_v3/app/not-found.tsx
mindesbunister bd04e0b6a8 FINAL FIX: Docker API URL resolution for internal service communication
- Fixed internal API calls in Docker environment to use port 3000 instead of 9000
- Added DOCKER_ENV detection to properly route internal fetch requests
- Resolves ECONNREFUSED errors when APIs try to call each other within container
- Trade validation now works correctly in Docker: 5 USD position validates properly
- Successfully tested: amountUSD field properly passed through validation pipeline
- Both development and Docker environments now fully functional
2025-07-16 16:35:09 +02:00

22 lines
703 B
TypeScript

'use client'
import React from 'react'
import Link from 'next/link'
export default function NotFound() {
return (
<div className="min-h-screen bg-gray-900 flex items-center justify-center">
<div className="text-center">
<h1 className="text-6xl font-bold text-white mb-4">404</h1>
<h2 className="text-2xl font-semibold text-gray-300 mb-8">Page Not Found</h2>
<p className="text-gray-400 mb-8">The page you're looking for doesn't exist.</p>
<Link
href="/"
className="bg-blue-600 hover:bg-blue-700 text-white font-medium py-3 px-6 rounded-lg transition-colors"
>
Go Back Home
</Link>
</div>
</div>
)
}