mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 03:54:59 +08:00
feature (hot reload): make configuration easier - #91
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import Path from 'path';
|
||||
import { mime as db } from '../../server/utils/mimetype';
|
||||
import db from '../../server/common/mimetype.json';
|
||||
|
||||
export function getMimeType(file){
|
||||
let ext = Path.extname(file).replace(/^\./, '').toLowerCase();
|
||||
|
||||
Reference in New Issue
Block a user