diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1f3a59d..2f5ee63 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,12 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
## [Unreleased]
-Now based on Angular!
-
### Added
-* GitLab Pages
-
### Changed
### Deprecated
@@ -22,6 +18,16 @@ Now based on Angular!
### Security
+## [2.0.0] - 2019-12-03
+
+Now based on Angular!
+
+Tests were done with `ipfs-npm` : They weren't successful. `ipfs-css` is only minimally used.
+
+### Added
+
+* GitLab Pages -
+
## [1.0.0] - 2019-11-28
This version is a fork of [github.com/ipfs/public-gateway-checker](https://github.com/ipfs/public-gateway-checker).
diff --git a/README.md b/README.md
index ee493fe..932854a 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ Cache a specific hash on a bunch of public gateways.
**Note :** All of these (except gateway.ipfs.io and ipfs.io) are hosted by third-parties and should be treated as such.
-You can view this website on [IPFS](https://bafybeifqneiiwgcejnisxd6vjic2xrmfieffldiqembuagflb2xaup772a.cf-ipfs.com).
+You can view this website on [IPFS](https://bafybeibjf6z3sxavox6uahfl4vogkuenimlpvn4eghdv6mtsm55rpnalve.cf-ipfs.com).
Here's a screenshot :
diff --git a/package.json b/package.json
index 2feea65..70cdf07 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "public-gateway-cacher",
- "version": "0.0.0",
+ "version": "2.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --ssl",
@@ -11,7 +11,8 @@
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
- "yarn": "ipfs-yarn"
+ "yarn": "ipfs-yarn",
+ "publish:ipfs": "yarn run build:ipfs; ipfs add --recursive --chunker=rabin --cid-version=1 dist/angular"
},
"private": false,
"dependencies": {
diff --git a/src/app/pages/pages.component.ts b/src/app/pages/pages.component.ts
index 31b5944..66b8651 100644
--- a/src/app/pages/pages.component.ts
+++ b/src/app/pages/pages.component.ts
@@ -51,6 +51,7 @@ export class PagesComponent implements OnInit {
this.dataSource.data = [];
this.matTable.renderRows();
+ console.clear();
this.gateways.forEach(gateway => {
this.subscriptions.push(
diff --git a/src/app/services/gateway.service.ts b/src/app/services/gateway.service.ts
index 6437cb7..64cc5cb 100644
--- a/src/app/services/gateway.service.ts
+++ b/src/app/services/gateway.service.ts
@@ -16,7 +16,7 @@ export class GatewayService {
return this.http.get(
environment.base_href && environment.base_href !== '/'
? `${environment.base_href}/assets/json/gateways.json`
- : '/assets/json/gateways.json'
+ : `${document.querySelector('base').href}/assets/json/gateways.json`
);
}