Skip to content

Commit e3f1f58

Browse files
committed
fix 处理demo相对路由和插件目录名称,避免和其他SK项目冲突
1 parent 4679d21 commit e3f1f58

File tree

46 files changed

+4
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+4
-4
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
33
<PropertyGroup>
4-
<Version>0.1.8</Version>
4+
<Version>0.1.9</Version>
55
<SKVersion>1.16.2</SKVersion>
66
</PropertyGroup>
77
</Project>

src/GraphRag.Net.Web/Pages/Graph/Graph.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
3737
// 获取参数的值,例如 'index'
3838
const index = urlParams.get('index');
39-
fetch('http://localhost:5000/api/GraphDemo/GetAllGraphs?index=' + index)
39+
fetch('/api/GraphDemo/GetAllGraphs?index=' + index)
4040
.then(response => {
4141
if (!response.ok) {
4242
throw new Error('网络响应不成功,状态码:' + response.status);

src/GraphRag.Net/GraphRag.Net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<PackageReference Include="SqlSugarCore" Version="5.1.4.166" />
3838
</ItemGroup>
3939
<ItemGroup>
40-
<None Update="plugins\**">
40+
<None Update="graphPlugins\**">
4141
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
4242
</None>
4343
</ItemGroup>

src/GraphRag.Net/Utils/RepoUtils/RepoFiles.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal static class RepoFiles
1313
public static string SamplePluginsPath()
1414
{
1515
string Parent = System.IO.Directory.GetCurrentDirectory();
16-
string Folder = "plugins";
16+
string Folder = "graphPlugins";
1717

1818
bool SearchPath(string pathToFind, out string result, int maxAttempts = 10)
1919
{

0 commit comments

Comments
 (0)