Determine note name with full location path

When the application was deployed in a subdirectory
of the web server, it could not load the home page.