Skip to content

Commit b22909b

Browse files
committed
Remove AssetsBaseUrl
1 parent 2e5955d commit b22909b

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

MyApp.ServiceInterface/AppConfig.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ public class AppConfig
1212
public string AppDataPath { get; set; } = "App_Data";
1313
public string ArtifactsPath { get; set; } = "App_Data/artifacts";
1414
public string FilesPath { get; set; } = "App_Data/files";
15-
public string AssetsBaseUrl { get; set; } = "https://localhost:5001";
1615
public string VisualLanguageModel { get; set; } = "qwen2.5vl:7b";
1716
public string ChatLanguageModel { get; set; }
1817
public string? GitPagesBaseUrl { get; set; }

MyApp/Configure.AppHost.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ public void Configure(IWebHostBuilder builder) => builder
3131
var filesPath = Environment.GetEnvironmentVariable("AI_FILES_PATH");
3232
if (filesPath != null)
3333
appConfig.FilesPath = filesPath;
34-
var assetsBaseUrl = Environment.GetEnvironmentVariable("ASSETS_BASE_URL");
35-
if (assetsBaseUrl != null)
36-
appConfig.AssetsBaseUrl = assetsBaseUrl;
3734

3835
appConfig.BunExePath ??= Environment.GetEnvironmentVariable("BUN_EXE_PATH")
3936
?? ProcessUtils.FindExePath("bun");

MyApp/appsettings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"AppDataPath": "../App_Data",
2424
"ArtifactsPath": "../App_Data/artifacts",
2525
"FilesPath": "../App_Data/files",
26-
"AssetsBaseUrl": "https://ai-server-cdn.diffusion.works",
2726
"VisualLanguageModel": "qwen2.5vl:7b",
2827
"ChatLanguageModel": "mistral-small3.2:24b",
2928
"DefaultUserId": "5B3DF8CA-6AB3-4BEE-AAFC-8FB0C8DF349D",

0 commit comments

Comments
 (0)