This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mimeTypes from 'mime-types'; | |
import Proto from 'uberproto'; | |
import { parseDataURI } from 'dauria'; | |
import { bufferToHash, fromBuffer } from '../utils/buffer'; | |
export default class Service { | |
constructor(options) { | |
if (typeof options === 'undefined') { | |
throw new Error('blob-service: constructor `options` must be provided'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.html$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] | |
</IfModule> |