Questions about exposing file directories in developer tools!

Asked 2 years ago, Updated 2 years ago, 46 views

Hello, everyone I'm developing the web, but I want to hide the orange folder like the picture below, what should I do?

nginx reactjs

2022-09-21 16:33

1 Answers

This is not an exposure to developer tools, it's just a public exposure of those assets to the entire web. There's no way to hide it. An asset on this web page has requested the asset in that orange directory for some reason, and the request has been accepted.

Why did you make it possible to request something outside the public directory publicly? I think you need to fix the server settings and source.


2022-09-21 16:33

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.