Theme and language toggle

This commit is contained in:
Corentin Risselin 2020-01-01 23:14:26 +09:00
commit f11aec082d
14 changed files with 252 additions and 89 deletions

View file

@ -11,7 +11,8 @@ const server = http.createServer((request, response) => {
'.js': 'text/javascript',
'.gz': 'application/javascript',
'.svg': 'image/svg+xml',
'.css': 'text/css'
'.css': 'text/css',
'.json': 'application/json'
};
const mimeEncoding = {
'.gz': 'gzip',