Skip to content

Commit

Permalink
Merge pull request #9504 from camptocamp/gsngeo-19-better-peer-depend…
Browse files Browse the repository at this point in the history
…encies

Better peer-dependencies
  • Loading branch information
ger-benjamin authored Oct 29, 2024
2 parents b0ee173 + 6c9d097 commit 74a3107
Show file tree
Hide file tree
Showing 3 changed files with 355 additions and 468 deletions.
4 changes: 2 additions & 2 deletions buildtools/check-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
'use strict';

const path = require('path');
const URL = require('url');
const fs = require('fs');
const puppeteer = require('puppeteer');
const parse = require('url-parse');

const arg = process.argv[2];
if (!arg) {
Expand Down Expand Up @@ -174,7 +174,7 @@ function loaded(page, browser) {
} else if (url == 'https://sgx.geodatenzentrum.de/wmts_basemapde/1.0.0/WMTSCapabilities.xml') {
request.respond(SgxCapabilities);
} else if (
parse(url).host == parse(page_url).host ||
URL.parse(url).host === URL.parse(page_url).host ||
url.startsWith('http://localhost:') ||
url.startsWith('https://geomapfish-demo') ||
url.startsWith('https://wmts.geo.admin.ch/') ||
Expand Down
Loading

0 comments on commit 74a3107

Please sign in to comment.