diff --git a/cloudtower-api-doc/docusaurus.config.js b/cloudtower-api-doc/docusaurus.config.js index ab10df57..a29cb659 100644 --- a/cloudtower-api-doc/docusaurus.config.js +++ b/cloudtower-api-doc/docusaurus.config.js @@ -5,16 +5,16 @@ const lightCodeTheme = require("prism-react-renderer/themes/github"); const darkCodeTheme = require("prism-react-renderer/themes/dracula"); const webpack = require("webpack"); -if(!process.env.TAURI_ENV) { - process.env = new Proxy(process.env, { - get(target, prop) { - if(prop === 'NODE_ENV') { - return 'development' - } - return typeof target[prop] === 'function' ? target[prop].bind(target) : target[prop] - } - }) -} +// if(!process.env.TAURI_ENV) { +// process.env = new Proxy(process.env, { +// get(target, prop) { +// if(prop === 'NODE_ENV') { +// return 'development' +// } +// return typeof target[prop] === 'function' ? target[prop].bind(target) : target[prop] +// } +// }) +// } /** @type {import('@docusaurus/types').Config} */ const config = {