From 35156e2418b3f3211be0da614e6cc45701914a5c Mon Sep 17 00:00:00 2001 From: Simon Boddy Date: Wed, 19 Oct 2022 16:06:42 +0200 Subject: [PATCH] Update interceptor.js Fixes the issue described [here](https://stackoverflow.com/questions/72407165/nodejs-error-using-import-with-iisnode) with the fix suggested in the answer. --- src/scripts/interceptor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/interceptor.js b/src/scripts/interceptor.js index 67bd6706..b49cbe3e 100644 --- a/src/scripts/interceptor.js +++ b/src/scripts/interceptor.js @@ -207,4 +207,4 @@ // run the original application entry point -require(process.argv[1]); \ No newline at end of file +require('child_process').spawn(process.argv[0], process.argv.slice(1));