Project

General

Profile

« Previous | Next » 

Revision 52738

added interceptor with routing to 403 page

View differences:

webpack.config.js
97 97
      new webpack.DefinePlugin({
98 98
        "process.env": {
99 99
          PRODUCTION: JSON.stringify(false),
100
          API_ENDPOINT: JSON.stringify(process.env.API_ENDPOINT || "http://aleka.athenarc.gr:8480/uoa-repository-manager-service"),
100
          API_ENDPOINT: JSON.stringify(process.env.API_ENDPOINT || "http://koulis.athenarc.gr:8480/uoa-repository-manager-service"),
101 101
          FAQ_ENDPOINT: JSON.stringify(process.env.FAQ_ENDPOINT || "https:/demo.openminted.eu/provide/api"),
102
          AAI_ENDPOINT: JSON.stringify(process.env.AAI_ENDPOINT || "http://aleka.athenarc.gr:8480/uoa-repository-manager-service/openid_connect_login"),
102
          AAI_ENDPOINT: JSON.stringify(process.env.AAI_ENDPOINT || "http://koulis.athenarc.gr:8480/uoa-repository-manager-service/openid_connect_login"),
103 103
          FAQ_HOMEPAGE: JSON.stringify(process.env.FAQ_HOMEPAGE || "http://audrey.athenarc.gr:5555"),
104
          BASE_URL: JSON.stringify(process.env.FAQ_HOMEPAGE || "http://aleka.athenarc.gr:4200")
104
          BASE_URL: JSON.stringify(process.env.FAQ_HOMEPAGE || "http://koulis.athenarc.gr:4200")
105 105
        }
106 106
      })
107 107
    );
......
126 126
      new webpack.DefinePlugin({
127 127
        "process.env": {
128 128
          PRODUCTION: JSON.stringify(true),
129
          API_ENDPOINT: JSON.stringify("http://aleka.athenarc.gr:8480/uoa-repository-manager-service"),
129
          API_ENDPOINT: JSON.stringify("http://koulis.athenarc.gr:8480/uoa-repository-manager-service"),
130 130
          FAQ_ENDPOINT: JSON.stringify("http://audrey.athenarc.gr:5555/api"),
131
          AAI_ENDPOINT: JSON.stringify("http://aleka.athenarc.gr:8480/uoa-repository-manager-service/openid_connect_login"),
131
          AAI_ENDPOINT: JSON.stringify("http://koulis.athenarc.gr:8480/uoa-repository-manager-service/openid_connect_login"),
132 132
          FAQ_HOMEPAGE: JSON.stringify("http://audrey.athenarc.gr:5555"),
133
          BASE_URL: JSON.stringify("http://aleka.athenarc.gr:4200")
133
          BASE_URL: JSON.stringify("http://koulis.athenarc.gr:4200")
134 134
        }
135 135
      })
136 136
    );

Also available in: Unified diff