diff options
author | crupest <crupest@outlook.com> | 2021-03-06 23:04:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-06 23:04:13 +0800 |
commit | ffdbd6e8a69678462ec08ca894b9f8d7b3fc1516 (patch) | |
tree | 246541d65473634839d5536b1111f7b742f54dab /BackEnd/Timeline/Startup.cs | |
parent | 51d0e48890069d81e383aef01e31da0a6d990e7a (diff) | |
parent | 890fef4f276ec44312eb936583adbbf47d7cfe9d (diff) | |
download | timeline-ffdbd6e8a69678462ec08ca894b9f8d7b3fc1516.tar.gz timeline-ffdbd6e8a69678462ec08ca894b9f8d7b3fc1516.tar.bz2 timeline-ffdbd6e8a69678462ec08ca894b9f8d7b3fc1516.zip |
Merge pull request #347 from crupest/markdown
Markdown post auto translate data url.
Diffstat (limited to 'BackEnd/Timeline/Startup.cs')
-rw-r--r-- | BackEnd/Timeline/Startup.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Startup.cs b/BackEnd/Timeline/Startup.cs index 26ba3bfc..4f392b2d 100644 --- a/BackEnd/Timeline/Startup.cs +++ b/BackEnd/Timeline/Startup.cs @@ -125,6 +125,8 @@ namespace Timeline services.AddScoped<ISearchService, SearchService>();
+ services.AddScoped<MarkdownProcessor>();
+
services.AddOpenApiDocs();
if (_frontEndMode == FrontEndMode.Mock)
|