mirror of
https://github.com/timvisee/send.git
synced 2025-10-04 01:59:16 +02:00
added hmac auth to report route
This commit is contained in:
parent
2f6119e2f1
commit
d9cbe058ab
7 changed files with 39 additions and 50 deletions
|
@ -9,7 +9,7 @@ import contentDisposition from 'content-disposition';
|
|||
let noSave = false;
|
||||
const map = new Map();
|
||||
const IMAGES = /.*\.(png|svg|jpg)$/;
|
||||
const VERSIONED_ASSET = /\.[A-Fa-f0-9]{8}\.(js|css|png|svg|jpg)$/;
|
||||
const VERSIONED_ASSET = /\.[A-Fa-f0-9]{8}\.(js|css|png|svg|jpg)(#\w+)?$/;
|
||||
const DOWNLOAD_URL = /\/api\/download\/([A-Fa-f0-9]{4,})/;
|
||||
const FONT = /\.woff2?$/;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue