Browse Source

fix favicon

dotos 8 năm trước cách đây
mục cha
commit
de2c0b1c56
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app.js

+ 1 - 1
app.js

@@ -43,7 +43,7 @@ app.use(cookieParser());
 app.use(helmet());
 //静态文件访问路径
 app.use('/static/', express.static(path.join(__dirname, 'static')));
-var i = 0;
+app.use(favicon(__dirname + '/static/images/favicon.ico'));
 
 
 /***