From 53a0483ef11cce939b1df2f288563c888a1d0567 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 14 Jun 2020 16:34:42 +0800 Subject: Many many bugs fix. 1. Add a way to test front end with mock page. 2. Unknown api returns 400 but not frontend page. 3. Fix a big bug that cause all data loss in database migration. --- Timeline/Properties/launchSettings.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Timeline/Properties/launchSettings.json') diff --git a/Timeline/Properties/launchSettings.json b/Timeline/Properties/launchSettings.json index 4baafa62..d23d132f 100644 --- a/Timeline/Properties/launchSettings.json +++ b/Timeline/Properties/launchSettings.json @@ -8,6 +8,14 @@ "ASPNETCORE_WORKDIR": "D:\\timeline-development" } }, + "Timeline-MockFrontEnd": { + "commandName": "Project", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development", + "ASPNETCORE_USEMOCKFRONTEND": "true", + "ASPNETCORE_WORKDIR": "D:\\timeline-development" + } + }, "Timeline-Staging": { "commandName": "Project", "environmentVariables": { -- cgit v1.2.3