Upload index.js
Browse files
index.js
CHANGED
@@ -183,7 +183,7 @@ app.get('/health', (req, res) => {
|
|
183 |
});
|
184 |
|
185 |
app.get('/', (req, res) => {
|
186 |
-
res.json(
|
187 |
success: true,
|
188 |
message: 'Content Extractor API',
|
189 |
endpoints: {
|
@@ -198,7 +198,7 @@ app.get('/', (req, res) => {
|
|
198 |
urls: ['https://example.com', 'https://another-site.com']
|
199 |
}
|
200 |
}
|
201 |
-
})
|
202 |
});
|
203 |
|
204 |
app.use((err, req, res, next) => {
|
|
|
183 |
});
|
184 |
|
185 |
app.get('/', (req, res) => {
|
186 |
+
res.json({
|
187 |
success: true,
|
188 |
message: 'Content Extractor API',
|
189 |
endpoints: {
|
|
|
198 |
urls: ['https://example.com', 'https://another-site.com']
|
199 |
}
|
200 |
}
|
201 |
+
});
|
202 |
});
|
203 |
|
204 |
app.use((err, req, res, next) => {
|