Corrige nome da imagem do manager no docker-compose
This commit is contained in:
parent
6382b90157
commit
b40fb84b66
|
|
@ -1,7 +1,7 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
edumanager:
|
edumanager:
|
||||||
build: .
|
image: ghcr.io/sidney201900/edumanager-pro2026/edumanager:latest
|
||||||
environment:
|
environment:
|
||||||
- VITE_SUPABASE_URL=${VITE_SUPABASE_URL}
|
- VITE_SUPABASE_URL=${VITE_SUPABASE_URL}
|
||||||
- VITE_SUPABASE_KEY=${VITE_SUPABASE_KEY}
|
- VITE_SUPABASE_KEY=${VITE_SUPABASE_KEY}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ version: '3.8'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
portalaluno:
|
portalaluno:
|
||||||
image: portalaluno:latest
|
image: ghcr.io/sidney201900/edumanager-pro2026/portalaluno:latest
|
||||||
environment:
|
environment:
|
||||||
- VITE_SUPABASE_URL=${VITE_SUPABASE_URL}
|
- VITE_SUPABASE_URL=${VITE_SUPABASE_URL}
|
||||||
- VITE_SUPABASE_KEY=${VITE_SUPABASE_KEY}
|
- VITE_SUPABASE_KEY=${VITE_SUPABASE_KEY}
|
||||||
|
|
|
||||||
|
|
@ -468,7 +468,12 @@ app.get('/api/portal/avaliacoes', authMiddleware, async (req, res) => {
|
||||||
.filter(e => e.status === 'published' && e.classId === student.classId)
|
.filter(e => e.status === 'published' && e.classId === student.classId)
|
||||||
.map(e => ({
|
.map(e => ({
|
||||||
...e,
|
...e,
|
||||||
questions: e.questions.map(q => ({ id: q.id, text: q.text, options: q.options }))
|
questions: e.questions.map(q => ({
|
||||||
|
id: q.id,
|
||||||
|
text: q.text,
|
||||||
|
options: q.options,
|
||||||
|
imageUrl: normalizeStorageUrl(q.imageUrl)
|
||||||
|
}))
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const { rows: submissions } = await pool.query(
|
const { rows: submissions } = await pool.query(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue