diff --git a/README.md b/README.md index 05cd29c..0ab6976 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,9 @@ Template app that bootstraps the creation of gridsuite apps. The template setup the authentication mechanism and provide a configured empty application. -To customize this repository for an app, search and replace the string XXX with the name of the app. For example, GridXXX -> GridFoo, gridXXX-app -> gridfoo-app. +To customize this repository for an app, search and replace the string `XXX` with the name of the app. For example, GridXXX -> GridFoo, gridXXX-app -> gridfoo-app. + +Create a new view in study-server and replace `yyy` with the new token in rest api `src/rest/study.ts`. ## Typescript config diff --git a/src/rest/study.js b/src/rest/study.js index 46e107e..89f7db2 100644 --- a/src/rest/study.js +++ b/src/rest/study.js @@ -14,7 +14,7 @@ const API_URL = export function getServersInfos(token) { return backendFetchJson( - `${API_URL}/servers/about`, + `${API_URL}/servers/about?view=yyy`, { headers: { Accept: 'application/json',