I had in my index page a table which I want to keep refreshing every 1 minute or so, but it is a waste execute my ajax request when the page is not been displayed in the screen. Has Quasar or Vue a way to tell me if the browser is at the front of my OS an the tab displayed is my page?
Latest posts made by asceta hedonista
Does exist an event for when the browser get focus?
RE: [v1] Got Error 500 I Internal Server Error @deployment
I have right now exactly the same issue, so I try a test.
1.- I create a new quasar project:
quasar create heroku_test
2.- I buil it with:
quasar buil -m ssr
3.- I add a Procfile with the text:
web: node dist/ssr/index.js
4.- I run the command on local and
5.- I even remove the
distdirectory from .gitignore
When I do the push to heroku everithing works fine, but when open the page it’s only displays: “500 | Internal Server Error”