Commit e3c621a0 authored by Kiraa Corsac's avatar Kiraa Corsac
Browse files

Merge branch 'main' into fix/paraller-flexibility-computation

parents 61272c81 dd61e3ad
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@
      name="Method correlation"
      example-act="flexibility-exploration-methods"
      v-if="protein.availableBfactors.length > 1"
      :minimized="false"
      minimize="false"
    >
      <div class="legend">
        <Scale
+7 −3
Original line number Diff line number Diff line
@@ -5,7 +5,9 @@ export default {
        session_token: null,
        connectionAvailable: false,
        exampleApi: axios.create({
            baseURL: `api/exampleapi`
            baseURL: process.env.VUE_APP_LOOPGRAFTER_DIRECT_API_MAPPING
                ? process.env.VUE_APP_LOOPGRAFTER_BACKEND_URL
                : "api/exampleapi"
        }),
    },
    getters: {
@@ -19,7 +21,9 @@ export default {

        getRealApi(state, getters) {
            return axios.create({
                baseURL: `api`,
                baseURL: process.env.VUE_APP_LOOPGRAFTER_DIRECT_API_MAPPING
                    ? process.env.VUE_APP_LOOPGRAFTER_BACKEND_URL
                    : "api",
                params: { session_id: state.session_token }
            })
        },