Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit 8bf453f

Browse files
committed
2.1
1 parent 0751afa commit 8bf453f

File tree

6 files changed

+3
-4
lines changed

6 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
![Code Statistic](/public/logo.png)
3+
![Code Statistic](/public/favicon.png)
44
# Code Statistic
55
</div>
66

public/favicon.ico

87.2 KB
Binary file not shown.

public/favicon.png

16.5 KB
Loading
File renamed without changes.

public/logo.png

-13.2 KB
Binary file not shown.

server.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ export function createServer(): void {
3636
app.set('views', __dirname + '/views');
3737
app.set("view engine", "ejs");
3838

39-
app.get('/', function (req: any, res: any) {
40-
res.render('index');
41-
});
39+
app.use(express.static('public'));
40+
4241

4342
app.get('/user/:user/', async function (req: any, res: any) {
4443
res.type('svg');

0 commit comments

Comments
 (0)