Closed myphysicslab closed 8 years ago
I've found the problem and the fix. It's in the file src/js/app.js
in the load
method. The branch for when the url doesn't start with "http" is appending the base path, but should not be doing that.
load(/** string */uri) {
if (this.navDrawer.isOpen && !page.useGutterNav()) {
this.navDrawer.hide();
}
if (location.protocol.startsWith('http')) {
// ... code not shown ...
} else {
location.href = page.getBasePath() + uri;
}
}
That last line should be changed to just:
location.href = uri;
After typing the name
UtilityCore
in the Search bar, I get this:Obviously the location of the file is being appended twice at the front. Perhaps there is something wrong with my
dossier_config.json
file? The contents of that file are: