Skip to content

Conversation

@mwager
Copy link
Collaborator

@mwager mwager commented Jan 4, 2024

No description provided.

const port = process.env.PORT || 9876;

app.use('/', express.static(__dirname + '/'));
app.use(express.static(__dirname + '/node_modules'));

Check warning

Code scanning / CodeQL

Exposure of private files

Serves the folder "/node_modules", which can contain private information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants