Skip to content

Commit

Permalink
fix all
Browse files Browse the repository at this point in the history
  • Loading branch information
FunixG committed Sep 20, 2023
1 parent 8aa8917 commit eab4490
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ export function app(): express.Express {
// Example Express Rest API endpoints
// server.get('/api/**', (req, res) => { });
// Serve static files from /browser
server.get('/sitemap.xml', (req, res) => {
res.header("Content-Type", "application/xml");
res.header("Content-Encoding", "gzip");
res.sendFile(join(distFolder, 'sitemap.xml'));
});
server.get('*.*', express.static(distFolder, {
maxAge: '1y'
}));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h1>News</h1>

<p>
Voici les news du serveur Minecraft Pacifista.<br/>
Vous pouvez aussi les retrouver sur notre <a href="https://twitter.com/pacifista-mc"><fa-icon [icon]="twitter"></fa-icon> Twitter</a>.
Vous pouvez aussi les retrouver sur notre <a href="https://x.com/pacifista_mc"><fa-icon [icon]="twitter"></fa-icon> Twitter</a>.
</p>
<h3>
{{ totalNews }} news au total
Expand Down

0 comments on commit eab4490

Please sign in to comment.