Compare commits

...

3 Commits

Author SHA1 Message Date
herel 48ef406428 🛠️ index.js -> updated endpoint path 2025-05-02 16:45:08 +02:00
herel ad43004e46 🛠️ Dockerfile -> Node version updated 2025-05-02 16:44:58 +02:00
herel c6d693dc3a 🛠️ README.md -> Added fork info 2025-05-02 16:44:46 +02:00
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node@sha256:86703151a18fcd06258e013073508c4afea8e19cd7ed451554221dd00aea83fc FROM node:23-slim
WORKDIR /usr/src/app WORKDIR /usr/src/app
+7
View File
@@ -1,5 +1,12 @@
# ❌ No-as-a-Service # ❌ No-as-a-Service
FORKED FROM https://github.com/hotheadhacker/no-as-a-service
<p align="center"> <p align="center">
<img src="https://raw.githubusercontent.com/hotheadhacker/no-as-a-service/main/assets/imgs/naas-with-no-logo-bunny.png" width="800" alt="No-as-a-Service Banner" width="70%"/> <img src="https://raw.githubusercontent.com/hotheadhacker/no-as-a-service/main/assets/imgs/naas-with-no-logo-bunny.png" width="800" alt="No-as-a-Service Banner" width="70%"/>
</p> </p>
+1 -1
View File
@@ -22,7 +22,7 @@ const limiter = rateLimit({
app.use(limiter); app.use(limiter);
// Random rejection reason endpoint // Random rejection reason endpoint
app.get('/no', (req, res) => { app.get('/', (req, res) => {
const reason = reasons[Math.floor(Math.random() * reasons.length)]; const reason = reasons[Math.floor(Math.random() * reasons.length)];
res.json({ reason }); res.json({ reason });
}); });