See #1646
Fix #1406 Instead of loading the file from http://localhost:port/, it can be loaded from /.