Cant execute pocketsphinx.js because it is a text/plain?
youngsun0 opened this issue · comments
I'm just trying to get live.html demo to work. However i keep getting this error:
recognizer.js:56 Refused to execute script from 'http://localhost:8000/webapp/js/pocketsphinx.js' because its MIME type ('text/plain') is not executable.
Fixed:
added Handler.extensions_map['.js'] = 'text/javascript' to server.py