feat: video upload - disable muse upload + upgrade server (#207)

* fix: only upload to cloudflare

* feat: ci/cd for apps/backend
This commit is contained in:
Rotimi Best
2024-03-16 06:27:09 +01:00
committed by GitHub
parent 18f37b1b66
commit 4893950fd2
5 changed files with 50 additions and 46 deletions
+3 -3
View File
@@ -23,7 +23,7 @@ app.use(cors());
// Rate limiting middleware
const limiter = rateLimit({
windowMs: 1000,
max: 10,
max: 10
});
app.use(limiter);
@@ -34,9 +34,9 @@ app.use('/downloadCourse', downloadCourse);
app.use('/uploadVideo', uploadVideo);
app.get('/', (req, res) => {
res.send('Hello ClassroomIO');
res.send('Welcome to ClassroomIO');
});
app.listen(port, () => {
console.log(`HelloNode app listening on port ${port}!`);
console.log(`ClassroomIO Backend listening on port ${port}!`);
});