Commit 4353d3d290a970e854368f7ca64442fed18a9c0e

Authored by ly525
Committed by 小小鲁班
1 parent 131e802a

chore: upgrade to strapi.beta.18.4

Too many changes to show.

To preserve performance only 6 of 7 files are displayed.

back-end/h5-api/config/environments/development/database.json
... ... @@ -2,7 +2,7 @@
2 2 "defaultConnection": "default",
3 3 "connections": {
4 4 "default": {
5   - "connector": "strapi-hook-bookshelf",
  5 + "connector": "bookshelf",
6 6 "settings": {
7 7 "client": "sqlite",
8 8 "filename": ".tmp/data.db"
... ...
back-end/h5-api/config/environments/production/database.heroku.json
... ... @@ -2,7 +2,7 @@
2 2 "defaultConnection": "default",
3 3 "connections": {
4 4 "default": {
5   - "connector": "strapi-hook-bookshelf",
  5 + "connector": "bookshelf",
6 6 "settings": {
7 7 "client": "postgres",
8 8 "host": "${process.env.DATABASE_HOST}",
... ...
back-end/h5-api/config/environments/production/database.json
... ... @@ -2,7 +2,7 @@
2 2 "defaultConnection": "default",
3 3 "connections": {
4 4 "default": {
5   - "connector": "strapi-hook-bookshelf",
  5 + "connector": "bookshelf",
6 6 "settings": {
7 7 "client": "mysql",
8 8 "host": "${process.env.DATABASE_HOST || 'localhost'}",
... ...
back-end/h5-api/config/environments/production/security.json
... ... @@ -6,11 +6,7 @@
6 6 },
7 7 "csp": {
8 8 "enabled": true,
9   - "policy": [{
10   - "img-src": "'self' http:"
11   - },
12   - "block-all-mixed-content"
13   - ]
  9 + "policy": ["block-all-mixed-content"]
14 10 },
15 11 "p3p": {
16 12 "enabled": true,
... ...
back-end/h5-api/config/environments/staging/security.json
... ... @@ -6,11 +6,7 @@
6 6 },
7 7 "csp": {
8 8 "enabled": true,
9   - "policy": [{
10   - "img-src": "'self' http:"
11   - },
12   - "block-all-mixed-content"
13   - ]
  9 + "policy": ["block-all-mixed-content"]
14 10 },
15 11 "p3p": {
16 12 "enabled": true,
... ...
back-end/h5-api/package.json
... ... @@ -24,18 +24,17 @@
24 24 "mysql": "latest",
25 25 "psd": "^3.2.0",
26 26 "sqlite3": "latest",
27   - "strapi": "3.0.0-beta.17.8",
28   - "strapi-admin": "3.0.0-beta.17.8",
29   - "strapi-hook-bookshelf": "3.0.0-beta.17.8",
30 27 "strapi-hook-ejs": "3.0.0-beta.17.8",
31   - "strapi-hook-knex": "3.0.0-beta.17.8",
32   - "strapi-plugin-content-manager": "3.0.0-beta.17.8",
33   - "strapi-plugin-content-type-builder": "3.0.0-beta.17.8",
34   - "strapi-plugin-documentation": "3.0.0-beta.17.8",
35   - "strapi-plugin-email": "3.0.0-beta.17.8",
36   - "strapi-plugin-upload": "3.0.0-beta.17.8",
37   - "strapi-plugin-users-permissions": "3.0.0-beta.17.8",
38   - "strapi-utils": "3.0.0-beta.17.8"
  28 + "strapi": "3.0.0-beta.18.4",
  29 + "strapi-admin": "3.0.0-beta.18.4",
  30 + "strapi-connector-bookshelf": "3.0.0-beta.18.4",
  31 + "strapi-plugin-content-manager": "3.0.0-beta.18.4",
  32 + "strapi-plugin-content-type-builder": "3.0.0-beta.18.4",
  33 + "strapi-plugin-email": "3.0.0-beta.18.4",
  34 + "strapi-plugin-graphql": "3.0.0-beta.18.4",
  35 + "strapi-plugin-upload": "3.0.0-beta.18.4",
  36 + "strapi-plugin-users-permissions": "3.0.0-beta.18.4",
  37 + "strapi-utils": "3.0.0-beta.18.4"
39 38 },
40 39 "author": {
41 40 "name": "A Strapi developer"
... ...