diff --git a/src/Otchinslator/Otchinslator.csproj b/src/Otchinslator/Otchinslator.csproj index a337a5a..3de1d5e 100644 --- a/src/Otchinslator/Otchinslator.csproj +++ b/src/Otchinslator/Otchinslator.csproj @@ -1,43 +1,48 @@ - net8.0 enable enable Linux - - - .dockerignore - + + .dockerignore + - - - + + - - - - - - - - + + + + + + - - <_ContentIncludedByDefault Remove="wwwroot\bootstrap\bootstrap.min.css" /> - <_ContentIncludedByDefault Remove="wwwroot\bootstrap\bootstrap.min.css.map" /> + <_ContentIncludedByDefault Remove="wwwroot\bootstrap\bootstrap.min.css" /> + <_ContentIncludedByDefault Remove="wwwroot\bootstrap\bootstrap.min.css.map" /> - - + - - + + + PreserveNewest + + + \ No newline at end of file diff --git a/src/Otchinslator/Services/IStatementGenerator.cs b/src/Otchinslator/Services/IStatementGenerator.cs index 1bb04d0..a2f410c 100644 --- a/src/Otchinslator/Services/IStatementGenerator.cs +++ b/src/Otchinslator/Services/IStatementGenerator.cs @@ -23,7 +23,7 @@ public class StatementGenerator(GotenbergSharpClient gotenbergSharpClient) : ISt public async Task GenerateStatementAsync(UserData userData) { - byte[] textByteArray = File.ReadAllBytes(@"C:\Users\Sergey\Desktop\test.docx"); + byte[] textByteArray = File.ReadAllBytes("Templates/ictis.docx"); MemoryStream stream = new MemoryStream(); stream.Write(textByteArray, 0, textByteArray.Length); using (WordprocessingDocument doc = WordprocessingDocument.Open(stream, true)) diff --git a/src/Otchinslator/Templates/ictis.docx b/src/Otchinslator/Templates/ictis.docx new file mode 100644 index 0000000..a539c50 Binary files /dev/null and b/src/Otchinslator/Templates/ictis.docx differ