1.6 KiB
1.6 KiB
🚨 SOLUÇÃO RÁPIDA - App Não Abre
❌ Problema
Servidor mostra listagem de diretórios em vez do aplicativo.
✅ SOLUÇÃO
Opção 1: Acessar URL Correta
ERRADO: http://localhost:8000/
CORRETO: http://localhost:8000/index.html
Opção 2: Usar Novo Script Python
# Parar servidor atual (Ctrl+C)
# Executar novo script:
python server.py
O novo script:
- ✅ Redireciona
/para/index.html - ✅ Abre navegador automaticamente
- ✅ Abre na URL correta
Opção 3: Usar http-server (Node.js)
npx http-server -p 8000 -o
Abre automaticamente no navegador.
Opção 4: Usar Live Server (VS Code)
- Instalar extensão "Live Server"
- Clicar direito em
index.html - Selecionar "Open with Live Server"
🎯 Teste Rápido
Após iniciar servidor, acesse:
http://localhost:8000/index.html
Deve abrir o aplicativo AÇO CALC PRO.
🐛 Se Ainda Não Funcionar
Verificar Console do Navegador (F12):
- Abrir DevTools (F12)
- Ir para aba "Console"
- Ver se há erros JavaScript
- Copiar erros e me enviar
Verificar Arquivos:
# Verificar se index.html existe
dir index.html
# Verificar se scripts existem
dir js\sections\perfis-*.js
✅ Solução Definitiva
Execute este comando:
python server.py
Aguarde mensagem:
🚀 Abrindo navegador automaticamente...
Navegador abre automaticamente em:
http://localhost:8000/index.html
Teste agora! 🚀