diff options
author | crupest <crupest@outlook.com> | 2020-06-14 16:34:42 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-14 16:34:42 +0800 |
commit | 5e02abc95cc8419b378917d7053d63092046b2cf (patch) | |
tree | ace855832f1c4e88e9fed7b2b2c95fb5e06424f3 /Timeline/Resources | |
parent | 4c6f4c214edc5b574951d4cc8f3654bc30efa8da (diff) | |
download | timeline-5e02abc95cc8419b378917d7053d63092046b2cf.tar.gz timeline-5e02abc95cc8419b378917d7053d63092046b2cf.tar.bz2 timeline-5e02abc95cc8419b378917d7053d63092046b2cf.zip |
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.
Diffstat (limited to 'Timeline/Resources')
-rw-r--r-- | Timeline/Resources/Messages.Designer.cs | 9 | ||||
-rw-r--r-- | Timeline/Resources/Messages.resx | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Timeline/Resources/Messages.Designer.cs b/Timeline/Resources/Messages.Designer.cs index 40c4a1ce..bb654ce6 100644 --- a/Timeline/Resources/Messages.Designer.cs +++ b/Timeline/Resources/Messages.Designer.cs @@ -151,6 +151,15 @@ namespace Timeline.Resources { }
/// <summary>
+ /// Looks up a localized string similar to The api endpoint you request is unknown. You might get the wrong api entry..
+ /// </summary>
+ internal static string Common_UnknownEndpoint {
+ get {
+ return ResourceManager.GetString("Common_UnknownEndpoint", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Unknown type of post content..
/// </summary>
internal static string TimelineController_ContentUnknownType {
diff --git a/Timeline/Resources/Messages.resx b/Timeline/Resources/Messages.resx index 8d5543fe..2bbf494e 100644 --- a/Timeline/Resources/Messages.resx +++ b/Timeline/Resources/Messages.resx @@ -147,6 +147,9 @@ <data name="Common_InvalidModel" xml:space="preserve">
<value>Model is of bad format.</value>
</data>
+ <data name="Common_UnknownEndpoint" xml:space="preserve">
+ <value>The api endpoint you request is unknown. You might get the wrong api entry.</value>
+ </data>
<data name="TimelineController_ContentUnknownType" xml:space="preserve">
<value>Unknown type of post content.</value>
</data>
|