Skip to content

Commit af70a52

Browse files
committed
Fixes for website when running on case-sensitive filesystems.
1 parent 9abc856 commit af70a52

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

LLama.Web/LLama.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="7.0.18" />
18+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.5" />
1919
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
2020
</ItemGroup>
2121

LLama.Web/Pages/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
}
104104

105105
@section Scripts {
106-
<script src="~/js/sessionconnectionchat.js"></script>
106+
<script src="~/js/sessionConnectionChat.js"></script>
107107
<script>
108108
createConnectionSessionChat();
109109
</script>

LLama.Web/Pages/Shared/_Layout.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<title>@ViewData["Title"] - LLamaSharp Web</title>
77
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
88
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
9-
<link rel="stylesheet" href="~/LLama.Web.styles.css" asp-append-version="true" />
109
<link rel="icon" href="~/image/llama-sharp.png" sizes="32x32" type="image/png">
1110
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
1211
</head>

LLama.Web/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
if (builder.Environment.IsDevelopment())
1111
{
1212
mvcBuilder.AddRazorRuntimeCompilation();
13-
builder.Configuration.AddJsonFile("appSettings.Local.json");
13+
builder.Configuration.AddJsonFile("appsettings.Local.json", true);
1414
}
1515

1616
builder.Services.AddSignalR();
@@ -47,4 +47,4 @@
4747

4848
app.MapHub<SessionConnectionHub>(nameof(SessionConnectionHub));
4949

50-
app.Run();
50+
app.Run();

LLama.Web/appsettings.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
"AllowedHosts": "*",
99
"LLamaOptions": {
1010
"ModelLoadType": 0,
11-
12-
// If you would like to add your own local model files then it's best to create an appSettings.Local.json file
13-
// and add them there. The appSettings.Local.json file will be ignored by Git.
1411
"Models": [
1512
{
1613
"Name": "Example LLama2-7b-Chat",

0 commit comments

Comments
 (0)