Skip to content

Commit

Permalink
chore: return default font
Browse files Browse the repository at this point in the history
  • Loading branch information
flyfishzy committed Jan 29, 2024
1 parent 6e9efb5 commit 6567ec0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion server/realword-express-sequelize/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ app.use('/api', profiles);
app.use('/api', articles);
app.use('/api', comments);
app.use('/api', tags);
app.use(express.static('static'))
app.use(express.static('static'));

// css font
app.get('/css', function (req, res) {
res.send(`@font-face {
font-family: 'system-ui';
font-style: normal;
font-weight: 400;}`);
});

const PORT = process.env.PORT || 80;
const SSLPORT = 443;
Expand Down

0 comments on commit 6567ec0

Please sign in to comment.