Skip to content

Commit

Permalink
feat: docs-ci-cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Majid committed Mar 10, 2024
1 parent 2334cb8 commit ac77d60
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
10 changes: 5 additions & 5 deletions docs-src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion docs-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"typedoc": "^0.25.12"
"typedoc": "^0.25.12",
"typescript": "^5.4.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.1.1",
Expand Down
6 changes: 1 addition & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,13 +439,9 @@ export class PmTilesSource extends VectorTileSourceImpl {
);
const request = this.map?._requestManager.transformRequest(url, "Tile");

const params = {
...request,

};
const controller = new AbortController();
tile.request = { cancel: () => controller.abort() };
this._protocol.tile(params, controller).then(done.bind(this))
this._protocol.tile(request, controller).then(done.bind(this))
.catch(error => {
// silence AbortError
if (error.code === 20) return;
Expand Down

0 comments on commit ac77d60

Please sign in to comment.