diff --git a/config/database.js b/config/database.js index 083336e..0ce2716 100644 --- a/config/database.js +++ b/config/database.js @@ -20,8 +20,7 @@ module.exports = ({ env }) => { connection: { client, connection: client === 'sqlite' ? sqlLite(env) : sqlDb(env, client), - useNullAsDefault: true, - debug: env('NODE_ENV', 'development') === 'development' + useNullAsDefault: true }, }); }; diff --git a/package-lock.json b/package-lock.json index 6bc798b..e1f0d22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,10 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "@strapi/plugin-graphql": "^4.0.6", - "@strapi/plugin-i18n": "^4.0.6", - "@strapi/plugin-users-permissions": "^4.0.6", - "@strapi/strapi": "^4.0.6", + "@strapi/plugin-graphql": "4.0.6", + "@strapi/plugin-i18n": "4.0.6", + "@strapi/plugin-users-permissions": "4.0.6", + "@strapi/strapi": "4.0.6", "mysql": "^2.18.1", "sqlite3": "^5.0.2" }, diff --git a/package.json b/package.json index a3d7265..29dfab5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "develop": "strapi develop", "start": "strapi start", - "build": "NODE_ENV=development strapi build", + "build": "NODE_ENV=production strapi build", "strapi": "strapi", "postinstall": "node ./bin/postinstall.js" },