Explorar o código

Fix project details page not loading

Reproducible when CORIOLIS_URL is just '/'.
Sergiu Miclea %!s(int64=7) %!d(string=hai) anos
pai
achega
adb8384e2e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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> {
-    return Api.get(`${coriolisUrl}/identity/projects/${projectId}`).then(response => {
+    return Api.get(`${coriolisUrl}identity/projects/${projectId}`).then(response => {
       return response.data.project
     })
   }