fix crap code

This commit is contained in:
Hans Pagel 2020-12-01 15:53:27 +01:00
parent 52d2c7427e
commit 86dac094f7

View File

@ -11,7 +11,7 @@ export default function (Vue, { head }) {
head.htmlAttrs = { 'data-theme': 'dark' } head.htmlAttrs = { 'data-theme': 'dark' }
// fix docsearch // fix docsearch
if (!window.process) { if (window && !window.process) {
window.process = { window.process = {
env: { env: {
NODE_ENV: 'production', NODE_ENV: 'production',