Skip to content

Commit e6122c4

Browse files
committed
remove test endpoint
1 parent dc32e87 commit e6122c4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

backend/src/server.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ app.head('/healthcheck', (req: Request, res: Response) => {
3939
res.status(200).end();
4040
});
4141

42-
app.get('/fuck', (req: Request, res: Response) => {
43-
res.json({ fuck: "yeah" })
44-
});
45-
4642
app.get('/sponsors/github', async (req: Request, res: Response) => {
4743
try {
4844
const sponsors = await githubClient.getSponsors('frillweeman');
@@ -79,6 +75,6 @@ app.use((err: Error, req: Request, res: Response, next: NextFunction) => {
7975
});
8076

8177
app.listen(port, () => {
82-
console.log(`Server is running on http://localhost:${port}`);
78+
console.log(`Server is running on http://0.0.0.0:${port}`);
8379
console.log('Press Ctrl+C to stop...');
8480
});

0 commit comments

Comments
 (0)