You mean after running npm run build ? Where do you see it?
Jan 3, 2023
4
Level 63
@vite and security
Hello,
I just noticed that when I use @vite inside the head tags, I can retrieve the full path of the project on the server /home/vincent/... in the web dev tools on the browser.
Is it a good idea to let anybody see this information ?
Is there any way to set the configuration of vite so that it doesn't show that ?
Thanks for your suggestions.
Vincent
Level 102
@vincent15000 If it only shows in dev (as i would expect) it is not a security concern. Production would never run dev
1 like
Please or to participate in this conversation.