aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-15 15:02:49 +0800
committercrupest <crupest@outlook.com>2021-06-15 15:02:49 +0800
commite0b766203d7576ab67b16ba556ba14120d0bc876 (patch)
treedfeee6d463ecf411daf0a34db0c160a71502cbd9 /BackEnd/Timeline
parent47587812b809fee2a95c76266d9d0e42fc4ac1ca (diff)
downloadtimeline-e0b766203d7576ab67b16ba556ba14120d0bc876.tar.gz
timeline-e0b766203d7576ab67b16ba556ba14120d0bc876.tar.bz2
timeline-e0b766203d7576ab67b16ba556ba14120d0bc876.zip
...
Diffstat (limited to 'BackEnd/Timeline')
-rw-r--r--BackEnd/Timeline/FrontEndMode.cs1
-rw-r--r--BackEnd/Timeline/Properties/launchSettings.json2
-rw-r--r--BackEnd/Timeline/Startup.cs4
3 files changed, 1 insertions, 6 deletions
diff --git a/BackEnd/Timeline/FrontEndMode.cs b/BackEnd/Timeline/FrontEndMode.cs
index 63503292..eb718028 100644
--- a/BackEnd/Timeline/FrontEndMode.cs
+++ b/BackEnd/Timeline/FrontEndMode.cs
@@ -4,7 +4,6 @@
{
Disable,
Mock,
- Proxy,
Normal
}
}
diff --git a/BackEnd/Timeline/Properties/launchSettings.json b/BackEnd/Timeline/Properties/launchSettings.json
index f683ca2d..7f68b709 100644
--- a/BackEnd/Timeline/Properties/launchSettings.json
+++ b/BackEnd/Timeline/Properties/launchSettings.json
@@ -4,7 +4,7 @@
"commandName": "Project",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
- "ASPNETCORE_FRONTEND": "Proxy"
+ "ASPNETCORE_FRONTEND": "Disable"
}
},
"Dev-Mock": {
diff --git a/BackEnd/Timeline/Startup.cs b/BackEnd/Timeline/Startup.cs
index 18097e2c..26ffb4b1 100644
--- a/BackEnd/Timeline/Startup.cs
+++ b/BackEnd/Timeline/Startup.cs
@@ -166,10 +166,6 @@ namespace Timeline
{
app.UseSpa(spa =>
{
- if (_frontEndMode == FrontEndMode.Proxy)
- {
- spa.UseProxyToSpaDevelopmentServer(new UriBuilder("http", "localhost", 3000).Uri);
- }
});
}
}