feature (hot reload): make configuration easier - #91

This commit is contained in:
Mickael Kerjean
2018-07-18 01:40:38 +10:00
parent af1fa944bf
commit dd562ecc37
7 changed files with 5 additions and 108 deletions

View File

@ -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();