diff --git a/ConfigApp/WorkshopInstallHandler.cs b/ConfigApp/WorkshopInstallHandler.cs index 5ac3a27d3..ded975170 100644 --- a/ConfigApp/WorkshopInstallHandler.cs +++ b/ConfigApp/WorkshopInstallHandler.cs @@ -94,7 +94,9 @@ void fatalCleanup() HttpClient httpClient = new HttpClient(); try { - var result = await httpClient.GetAsync($"https://chaos.gopong.dev/workshop/fetch_submission_data?submission_id={m_SubmissionItem.Id}"); + var domain = OptionsManager.WorkshopFile.ReadValue("WorkshopCustomUrl", Info.WORKSHOP_DEFAULT_URL); + + var result = await httpClient.GetAsync($"{domain}/workshop/fetch_submission_data?submission_id={m_SubmissionItem.Id}"); if (!result.IsSuccessStatusCode) { MessageBox.Show("Error while fetching submission. Please try again!", "ChaosModV", MessageBoxButton.OK, MessageBoxImage.Error);