merge-requests/2/merge^2
Nato Boram 2019-11-29 03:28:00 -05:00
parent ee146753d2
commit dd384d6d9d
No known key found for this signature in database
GPG Key ID: C035B4A0E33CF552
2 changed files with 8 additions and 3 deletions

View File

@ -7,7 +7,7 @@ const routes: Routes = [{
}]; }];
@NgModule({ @NgModule({
imports: [RouterModule.forRoot(routes)], imports: [RouterModule.forRoot(routes, { useHash: true })],
exports: [RouterModule] exports: [RouterModule]
}) })
export class AppRoutingModule { } export class AppRoutingModule { }

View File

@ -4,7 +4,12 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Public Gateway Cacher</title> <title>Public Gateway Cacher</title>
<base href="/">
<!-- IPFS -->
<script>
if (document.getElementsByTagName('base').length === 0) document.write('<base href="' + window.location.pathname + '"/>');
</script>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.png"> <link rel="icon" type="image/x-icon" href="favicon.png">