wirejs-deploy-amplify-basic 0.0.58 → 0.0.60

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.
@@ -214,6 +214,11 @@ async function tryAPIPath(req, res) {
214
214
  logger.error('Tried to proxy without API_URL config.');
215
215
  return false;
216
216
  }
217
+
218
+ if (!req.url.startsWith('/api')) {
219
+ return false;
220
+ }
221
+
217
222
  return proxyRequest(req, res, API_URL);
218
223
  }
219
224
 
@@ -3,6 +3,6 @@
3
3
  "dependencies": {
4
4
  "jsdom": "^25.0.1",
5
5
  "wirejs-dom": "^1.0.38",
6
- "wirejs-resources": "^0.1.26"
6
+ "wirejs-resources": "^0.1.28"
7
7
  }
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wirejs-deploy-amplify-basic",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "recursive-copy": "^2.0.14",
31
31
  "rimraf": "^6.0.1",
32
32
  "wirejs-dom": "^1.0.38",
33
- "wirejs-resources": "^0.1.26"
33
+ "wirejs-resources": "^0.1.28"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@aws-amplify/backend": "^1.14.0",