Skip to content

Commit

Permalink
Simplify proxy settings
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerstolzenberg committed Apr 23, 2024
1 parent 06df2ed commit 78ae2a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions proxy.conf.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
var defaultTarget = 'https://basemaps.cartocdn.com';
module.exports = [
{
context: ['/tiles/dark-matter/**'],
target: defaultTarget,
target: 'https://basemaps.cartocdn.com',
changeOrigin: true,
pathRewrite: {
'^/tiles/dark-matter': ''
Expand Down

0 comments on commit 78ae2a0

Please sign in to comment.