Have anyone met an issue like me before?
I have deployed TiddlyWiki5 to heroku as an app at https://jameswiki.herokuapp.com. It displayed and worked as expected at runtime. However, after the server (web dyno) sleeping and wakeup (often after 1 hour inactive), everything is clear.
I have checked my console in heroku when creating new Tiddle, it still said new Tiddle has been saved, but in fact, no new tiddle is saved to Tiddlers folder. Below is my script to install and run it:
In Package.json
{
...
"scripts": {
"start": "tiddlywiki . --server",
"postinstall": "npm install -g tiddlywiki"
}
}
In Procfile
web: tiddlywiki . --server $PORT $:/core/save/all text/plain text/html "" "" 0.0.0.0
Help me to fix this issue. Thanks.