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.ErrorCodes/ErrorCodes.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Timeline.ErrorCodes/ErrorCodes.cs') diff --git a/Timeline.ErrorCodes/ErrorCodes.cs b/Timeline.ErrorCodes/ErrorCodes.cs index 0af36383..4637242a 100644 --- a/Timeline.ErrorCodes/ErrorCodes.cs +++ b/Timeline.ErrorCodes/ErrorCodes.cs @@ -12,6 +12,7 @@ { public const int InvalidModel = 1_000_0001; public const int Forbid = 1_000_0002; + public const int UnknownEndpoint = 1_000_0003; public static class Header { -- cgit v1.2.3