@florianpat/lando-core 3.23.27-5florianPat.0 → 3.23.27-5florianPat.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
2
2
 
3
- ## v3.23.27-5florianPat.0 - [August 22, 2025](https://github.com/florianPat/lando-core/releases/tag/v3.23.27-5florianPat.0)
3
+ ## v3.23.27-5florianPat.2 - [August 29, 2025](https://github.com/florianPat/lando-core/releases/tag/v3.23.27-5florianPat.2)
4
4
 
5
5
  ## v3.23.26 - [January 24, 2025](https://github.com/lando/core/releases/tag/v3.23.26)
6
6
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@florianpat/lando-core",
3
3
  "description": "The libraries that power all of Lando. Fork by flo for compose integration",
4
- "version": "3.23.27-5florianPat.0",
4
+ "version": "3.23.27-5florianPat.2",
5
5
  "author": "Florian Patruck @florianPat",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "florianPat/lando-core",
@@ -249,9 +249,9 @@
249
249
  "yargs-parser"
250
250
  ],
251
251
  "dist": {
252
- "integrity": "sha512-4XH8m3midLfVyHWYS3dPq978/MNrKtNQ2HcNrj/iYXgS0+E05NauocHPAt9vBRHb3FCcGT9Eo1e5StzZUjb7xw==",
253
- "shasum": "15a076e7e025a35ddf5c82fc789f8057c10b54f1",
254
- "filename": "florianpat-lando-core-3.23.27-5florianPat.0.tgz",
255
- "unpackedSize": 60980579
252
+ "integrity": "sha512-2WKUx3+a3ErS3vpWIs3BC8satE5nsldzg+9rE9CGemXYZ9W1vbIAhhf56UgxyqkJ03/0hsVkeSb0syv0zSsFtQ==",
253
+ "shasum": "0b42ff318b3370ed9f2e9de9247c53c9155eb292",
254
+ "filename": "florianpat-lando-core-3.23.27-5florianPat.2.tgz",
255
+ "unpackedSize": 60980615
256
256
  }
257
257
  }
@@ -167,7 +167,7 @@ exports.parseRoutes = (service, urls = [], sslReady, labels = {}) => {
167
167
  rule.middlewares.push({name: 'lando', key: 'headers.customrequestheaders.X-Lando', value: 'on'});
168
168
 
169
169
  // Add in any path stripping middleware we need it
170
- if (rule.pathname.length > 1) {
170
+ if (rule.pathname.length > 1 && _.get(rule, 'stripPrefix', true)) {
171
171
  rule.middlewares.push({name: 'stripprefix', key: 'stripprefix.prefixes', value: rule.pathname});
172
172
  };
173
173