Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/spa-templates.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier Calvarro Nelson <jacalvar@microsoft.com>2021-09-23 20:28:59 +0300
committerGitHub <noreply@github.com>2021-09-23 20:28:59 +0300
commit55da9ce020682531efe3cac6b1dfa5ca4b8f97b0 (patch)
treeed7e5a6782ec58ba5bd706ae82ddf3410a744cdc /src
parenta64c11d4919e91f52ae042b58be2b2c346f27a39 (diff)
[Hot reload] Fix hot reload script failure (#20)
* Adds `/_framework` to the list of proxied paths of the proxy configs.
Diffstat (limited to 'src')
-rw-r--r--src/content/Angular-CSharp/ClientApp/proxy.conf.js1
-rw-r--r--src/content/React-CSharp/ClientApp/src/setupProxy.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/content/Angular-CSharp/ClientApp/proxy.conf.js b/src/content/Angular-CSharp/ClientApp/proxy.conf.js
index 3ac6d37..14ce379 100644
--- a/src/content/Angular-CSharp/ClientApp/proxy.conf.js
+++ b/src/content/Angular-CSharp/ClientApp/proxy.conf.js
@@ -13,6 +13,7 @@ const PROXY_CONFIG = [
"/Identity",
"/connect",
"/ApplyDatabaseMigrations",
+ "/_framework"
//#endif
],
target: target,
diff --git a/src/content/React-CSharp/ClientApp/src/setupProxy.js b/src/content/React-CSharp/ClientApp/src/setupProxy.js
index 3e3b217..d08c114 100644
--- a/src/content/React-CSharp/ClientApp/src/setupProxy.js
+++ b/src/content/React-CSharp/ClientApp/src/setupProxy.js
@@ -12,6 +12,7 @@ const context = [
"/Identity",
"/connect",
"/ApplyDatabaseMigrations",
+ "/_framework"
//#endif
];