Prepare release v2.0.0

merge-requests/3/merge
Nato Boram 2019-12-03 01:40:09 -05:00
parent 17075a0922
commit 86ef05154b
No known key found for this signature in database
GPG Key ID: C035B4A0E33CF552
5 changed files with 16 additions and 8 deletions

View File

@ -6,12 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
## [Unreleased] ## [Unreleased]
Now based on Angular!
### Added ### Added
* GitLab Pages
### Changed ### Changed
### Deprecated ### Deprecated
@ -22,6 +18,16 @@ Now based on Angular!
### Security ### 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 - <https://natoboram.gitlab.io/public-gateway-cacher/>
## [1.0.0] - 2019-11-28 ## [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). This version is a fork of [github.com/ipfs/public-gateway-checker](https://github.com/ipfs/public-gateway-checker).

View File

@ -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. **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 : Here's a screenshot :

View File

@ -1,6 +1,6 @@
{ {
"name": "public-gateway-cacher", "name": "public-gateway-cacher",
"version": "0.0.0", "version": "2.0.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve --ssl", "start": "ng serve --ssl",
@ -11,7 +11,8 @@
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e", "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, "private": false,
"dependencies": { "dependencies": {

View File

@ -51,6 +51,7 @@ export class PagesComponent implements OnInit {
this.dataSource.data = []; this.dataSource.data = [];
this.matTable.renderRows(); this.matTable.renderRows();
console.clear();
this.gateways.forEach(gateway => { this.gateways.forEach(gateway => {
this.subscriptions.push( this.subscriptions.push(

View File

@ -16,7 +16,7 @@ export class GatewayService {
return this.http.get<string[]>( return this.http.get<string[]>(
environment.base_href && environment.base_href !== '/' environment.base_href && environment.base_href !== '/'
? `${environment.base_href}/assets/json/gateways.json` ? `${environment.base_href}/assets/json/gateways.json`
: '/assets/json/gateways.json' : `${document.querySelector('base').href}/assets/json/gateways.json`
); );
} }