Skip to content

Commit

Permalink
graphql path seems not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
aHenryJard committed Jul 23, 2024
1 parent b757ef4 commit 9106aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencti-platform/opencti-graphql/src/http/httpPlatform.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const createApp = async (app) => {

app.use((req, res, next) => {
const urlString = req.url;
if (urlString && (urlString.startsWith(`${basePath}/public`) || urlString.startsWith(`${basePath}/static`) || urlString.startsWith(`${basePath}/graphql`))) {
if (urlString && (urlString.startsWith(`${basePath}/public`) || urlString.startsWith(`${basePath}/static`))) {
securityPublic(req, res, next);
} else {
securityMiddleware(req, res, next);
Expand Down

0 comments on commit 9106aaa

Please sign in to comment.