Browse Source

remove annoying console.log

master
ansuz 1 year ago
parent
commit
d4b4a50253
1 changed files with 0 additions and 1 deletions
  1. 1
      server.js

1
server.js

@ -119,7 +119,6 @@ app.head(/^\/common\/feedback\.html/, function (req, res, next) {
app.use(function (req, res, next) {
if (req.method === 'OPTIONS' && /\/blob\//.test(req.url)) {
console.log(req.url);
res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader('Access-Control-Allow-Methods', 'GET, OPTIONS');
res.setHeader('Access-Control-Allow-Headers', 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range');

Loading…
Cancel
Save