-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
139 reinstall strapi to fix admin invites (#151)
* reinstall strapi * install plugin apollo sandbox * rebuild and run develop after plugin install * install and configure graphql plugin * fix jsconfig error * add apollo playground security config * recreate content types * recreate most recent image * Revert "install plugin apollo sandbox" This reverts commit bf8c651833f6ff11bc33122a4aa4ba02bdf43119. * Revert "add apollo playground security config" This reverts commit 5ee1ffd17014729c3e8202fc9f16bdf835d3e9ce. * delete node modules and lock files, rerun npm install * re add readme edits
- Loading branch information
Magnus Alexander Strømseng
authored and
GitHub
committed
Mar 18, 2024
1 parent
678b86c
commit 250b6d9
Showing
37 changed files
with
1,206 additions
and
6,226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,12 @@ | ||
| module.exports = [ | ||
| "strapi::logger", | ||
| "strapi::errors", | ||
| { | ||
| name: "strapi::security", | ||
| config: { | ||
| contentSecurityPolicy: { | ||
| directives: { | ||
| "frame-src": [ | ||
| "http://localhost:*", | ||
| "self", | ||
| "sandbox.embed.apollographql.com", | ||
| ], | ||
| }, | ||
| }, | ||
| }, | ||
| }, | ||
| "strapi::cors", | ||
| "strapi::poweredBy", | ||
| "strapi::query", | ||
| "strapi::body", | ||
| "strapi::session", | ||
| "strapi::favicon", | ||
| "strapi::public", | ||
| 'strapi::logger', | ||
| 'strapi::errors', | ||
| 'strapi::security', | ||
| 'strapi::cors', | ||
| 'strapi::poweredBy', | ||
| 'strapi::query', | ||
| 'strapi::body', | ||
| 'strapi::session', | ||
| 'strapi::favicon', | ||
| 'strapi::public', | ||
| ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,14 @@ | ||
| module.exports = { | ||
| // | ||
| module.exports = () => ({ | ||
| graphql: { | ||
| config: { | ||
| endpoint: "/graphql", | ||
| shadowCRUD: true, | ||
| playgroundAlways: true, | ||
| playgroundAlways: false, | ||
| depthLimit: 20, | ||
| amountLimit: 100, | ||
| apolloServer: { | ||
| tracing: false, | ||
| introspection: true, | ||
| }, | ||
| }, | ||
| }, | ||
| "apollo-sandbox": { | ||
| // enables the plugin only in development mode | ||
| // if you also want to use it in production, set this to true | ||
| // keep in mind that graphql playground has to be enabled | ||
| enabled: true | ||
| // endpoint: "https://tunneled-strapi.com/graphql", // OPTIONAL - endpoint has to be accessible from the browser | ||
| }, | ||
| }; | ||
| }); |
Oops, something went wrong.