mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
fixup routing and sdk links
This commit is contained in:
@@ -18,12 +18,12 @@
|
|||||||
<Content Include="./rust/target/release/libsdk*.so">
|
<Content Include="./rust/target/release/libsdk*.so">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<PackageCopyToOutput>true</PackageCopyToOutput>
|
<PackageCopyToOutput>true</PackageCopyToOutput>
|
||||||
<Link>runtimes/linux-x64/native/libsdk.dylib</Link>
|
<Link>runtimes/linux-x64/native/libsdk.so</Link>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="./rust/target/release/libsdk*.dll">
|
<Content Include="./rust/target/release/libsdk*.dll">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<PackageCopyToOutput>true</PackageCopyToOutput>
|
<PackageCopyToOutput>true</PackageCopyToOutput>
|
||||||
<Link>runtimes/windows-x64/native/libsdk.dylib</Link>
|
<Link>runtimes/windows-x64/native/libsdk.dll</Link>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
||||||
<!-- This is a work around because this file is compiled by the PreBuild event below, and won't
|
<!-- This is a work around because this file is compiled by the PreBuild event below, and won't
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ if (!app.Environment.IsDevelopment())
|
|||||||
|
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
|
|
||||||
|
app.MapControllerRoute(name: "default", pattern: "{controller=Seed}/{action=Index}/{id?}");
|
||||||
|
|
||||||
app.Run();
|
app.Run();
|
||||||
|
|
||||||
// Make Program class accessible for integration tests
|
// Make Program class accessible for integration tests
|
||||||
|
|||||||
Reference in New Issue
Block a user