Преглед на файлове

Fix project details page not loading

Reproducible when CORIOLIS_URL is just '/'.
Sergiu Miclea преди 7 години
родител
ревизия
adb8384e2e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/sources/ProjectSource.js

+ 1 - 1
src/sources/ProjectSource.js

@@ -34,7 +34,7 @@ class ProjectsSource {
   }
   }
 
 
   static getProjectDetails(projectId: string): Promise<Project> {
   static getProjectDetails(projectId: string): Promise<Project> {
-    return Api.get(`${coriolisUrl}/identity/projects/${projectId}`).then(response => {
+    return Api.get(`${coriolisUrl}identity/projects/${projectId}`).then(response => {
       return response.data.project
       return response.data.project
     })
     })
   }
   }