Skip to content

Commit

Permalink
hide the "Latest News From Portainer"
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson committed May 24, 2023
1 parent ff27eee commit a251404
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ app.get('/', async (req, res) => {
res.status(500).json(e);
}
});
app.get('/api/motd', (req, res) => {
// hide the "Latest News From Portainer"
// https://github.com/portainer/portainer/blob/master/app/portainer/views/home/home.html
res.json({});
});
app.use(createProxyMiddleware({
target: TARGET_URL,
ws: true,
Expand Down

0 comments on commit a251404

Please sign in to comment.