We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89383dc commit 7586ad5Copy full SHA for 7586ad5
packages/cubejs-server-core/core/DevServer.js
@@ -27,7 +27,7 @@ class DevServer {
27
const apiUrl = process.env.CUBEJS_API_URL || `http://localhost:${port}`;
28
const jwt = require('jsonwebtoken');
29
const cubejsToken = jwt.sign({}, this.cubejsServer.apiSecret, { expiresIn: '1d' });
30
- if (process.NODE_ENV !== 'production') {
+ if (process.env.NODE_ENV !== 'production') {
31
console.log(`🔓 Authentication checks are disabled in developer mode. Please use NODE_ENV=production to enable it.`);
32
} else {
33
console.log(`🔒 Your temporary cube.js token: ${cubejsToken}`);
0 commit comments