It doesn’t have to be the exact code. The most minimal code which reproduces the problem is enough. E.g., do you observe differences in the example sketch Arduino/libraries/ESP8266WebServer/examples/FSBrowser at master · esp8266/Arduino · GitHub for Arduino IDE and PIO?