i created an app long ago and been using relative path, eg ./static/path/to/file
and it always point to /var/www/static/path/to/file
but today after lots of updating (and fixing typo) using git pull, the server just froze up, not responding,
so instead of waiting or posting on the forum, i decided to just delete it using the delete button on the web app page
and recreate it using git reset --hard
but when i ran it, it just error, so after debugging,
i found out the path have been change, now ./static/path/to/file
seem point to /home/asl97/static/path/to/file
so i just did a symbolic links and everything seem to work fine, hopefully nothing is broken due to the path change.
ln -s /var/www/static /home/asl97/static