diff --git a/ZpcBulletinBoard/Dockerfile b/ZpcBulletinBoard/Dockerfile index e901d0b..f9aca91 100644 --- a/ZpcBulletinBoard/Dockerfile +++ b/ZpcBulletinBoard/Dockerfile @@ -18,6 +18,7 @@ RUN dotnet build "./ZpcBulletinBoard.csproj" -c $BUILD_CONFIGURATION -o /app/bui FROM build AS publish ARG BUILD_CONFIGURATION=Release RUN dotnet publish "./ZpcBulletinBoard.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false +COPY ["./ZpcBulletinBoard/Keys/key-3a63e3da-2ef0-49c2-9e68-30571c991f22.xml", "ZpcBulletinBoard/Keys/key-3a63e3da-2ef0-49c2-9e68-30571c991f22.xml"] FROM base AS final WORKDIR /app diff --git a/ZpcBulletinBoard/Program.cs b/ZpcBulletinBoard/Program.cs index 59521bd..176d0f8 100644 --- a/ZpcBulletinBoard/Program.cs +++ b/ZpcBulletinBoard/Program.cs @@ -90,7 +90,7 @@ builder.Services.Configure(options => options.AutomaticAuthentication = false; }); -builder.Services.AddDataProtection().SetApplicationName("ZpcBulletinBoard").PersistKeysToFileSystem(new DirectoryInfo(@"Keys/")); +builder.Services.AddDataProtection().SetApplicationName("ZpcBulletinBoard").PersistKeysToFileSystem(new DirectoryInfo(@"wwwroot/keys/")); var app = builder.Build(); diff --git a/ZpcBulletinBoard/ZpcBulletinBoard.csproj b/ZpcBulletinBoard/ZpcBulletinBoard.csproj index 2df772f..cd5e375 100644 --- a/ZpcBulletinBoard/ZpcBulletinBoard.csproj +++ b/ZpcBulletinBoard/ZpcBulletinBoard.csproj @@ -34,10 +34,13 @@ - + + + + diff --git a/ZpcBulletinBoard/wwwroot/bulletin-board-images/pages/Leave.jpg b/ZpcBulletinBoard/wwwroot/bulletin-board-images/pages/Leave.jpg new file mode 100644 index 0000000..51920dc --- /dev/null +++ b/ZpcBulletinBoard/wwwroot/bulletin-board-images/pages/Leave.jpg @@ -0,0 +1,93 @@ +
+
+ Vnesi besedilo +
+
+
+ Vnesi besedilo +
+
+
+ Test +
+
+
+

Krakoli


asdsadasd


+
+
+
+


+
+
\ No newline at end of file diff --git a/ZpcBulletinBoard/wwwroot/bulletin-board-images/pages/StaticImage_4.png b/ZpcBulletinBoard/wwwroot/bulletin-board-images/pages/StaticImage_4.png new file mode 100644 index 0000000..156c6ca Binary files /dev/null and b/ZpcBulletinBoard/wwwroot/bulletin-board-images/pages/StaticImage_4.png differ diff --git a/ZpcBulletinBoard/Keys/key-3a63e3da-2ef0-49c2-9e68-30571c991f22.xml b/ZpcBulletinBoard/wwwroot/keys/key-dd9d2694-d2a1-4c84-8780-8cc2a8450e4b.xml similarity index 64% rename from ZpcBulletinBoard/Keys/key-3a63e3da-2ef0-49c2-9e68-30571c991f22.xml rename to ZpcBulletinBoard/wwwroot/keys/key-dd9d2694-d2a1-4c84-8780-8cc2a8450e4b.xml index 068fa30..0755e41 100644 --- a/ZpcBulletinBoard/Keys/key-3a63e3da-2ef0-49c2-9e68-30571c991f22.xml +++ b/ZpcBulletinBoard/wwwroot/keys/key-dd9d2694-d2a1-4c84-8780-8cc2a8450e4b.xml @@ -1,15 +1,15 @@  - - 2024-02-27T04:54:17.6808298Z - 2024-02-27T04:54:17.6419309Z - 2024-05-27T04:54:17.6419309Z + + 2024-03-13T04:20:53.7153581Z + 2024-03-13T04:20:53.6880609Z + 2024-06-11T04:20:53.6880609Z - 1ujUNFqnvXGLHSTiSV2F9ymK+Sosgl6qdy7m0M/Z9bPXyplHR9bOAgm4cy5otT3C/q5H/Qf6NnQkgUqggldGiw== + 1XXNVBuC3ok1caM9YT8GT0kQE7/8eRQiPgWe36qOTqXhGZVuy4HAnRi6XaxFTcWdNys7KEpjf8YWHyuwHfxm9g==