wirejs-deploy-amplify-basic 0.0.58 → 0.0.59
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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wirejs-deploy-amplify-basic",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
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.
|
|
33
|
+
"wirejs-resources": "^0.1.27"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@aws-amplify/backend": "^1.14.0",
|