useHash
parent
ee146753d2
commit
dd384d6d9d
|
@ -7,7 +7,7 @@ const routes: Routes = [{
|
|||
}];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forRoot(routes)],
|
||||
imports: [RouterModule.forRoot(routes, { useHash: true })],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class AppRoutingModule { }
|
||||
|
|
|
@ -4,7 +4,12 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<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">
|
||||
<link rel="icon" type="image/x-icon" href="favicon.png">
|
||||
|
||||
|
|
Loading…
Reference in New Issue