![]() Most of the improvements in using webpack came from its ability to bring 'node.js' to the front end. Moving the front-end out of a cross-origin tomcat java-container application-server model (which was causing most of my headaches on a daily bases since I was coding javascript) to a same-origin environment using webpack along with express.Īnd as you might know, using webpack brings a whole new dimension to the front-end that was not available before when we were using the 'old approach' to web-dev. I had since migrated to using a more modern stack, replacing my plain node.js server with express. My problem here was actually a deeper rooted issue of technology mismatch. What this then leads to is a grand display of nonsense as you can see from screen-grab in my question above. It tries to interpret and run the file, which of course it cannot. ![]() However microsoft-edge is not so clever as its more proven compatriots. Now, the reason this was mostly working is browsers like chrome and firefox are smart enough to know that they cannot interpret and display excel files, so instead, they download them. pdf or the sort of file that modern web-browsers are able to interpret and run. Which is normally an HTML file or something else transpiled into HTML. Which tells the browser, go to a that link, and open whatever you find at that address. I was using javascript to instruct the browser to open the excel file, window.location = link. The issue here is that this method of downloading files is not actually downloading the file.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |