| 12345678910111213141516171819202122232425 |
- // 基础配置
- const serverIP = 'http://123.206.193.98';
- const backendPort = '8999';
- const graphqlPort = '3000';
- const backend = serverIP + ':' + backendPort;
- // graphql 配置
- const graphqlUrl = serverIP + ':' + graphqlPort + '/graphql';
- // api 配置
- const getIdUrl = backend + '/getuserid';
- const loginUrl = backend + '/login';
- const registerUrl = backend + '/resetpassword';
- // graphql 部署配置
- const backendGQ = backend + '/graphql';
- const genJsUrl = backendGQ + '/genjs';
- const checkSchemaUrl = backendGQ + '/compile';
- const deployUrl = backendGQ + '/deployall';
- // 管理员配置
- // 通过在该数组中添加 userID,可以管理 trialcase 的增删改查
- const manageUsers = ['xy_1_je9{d\'\'_32sD+'];
- export {getIdUrl, loginUrl, registerUrl, checkSchemaUrl, deployUrl, genJsUrl, graphqlUrl, manageUsers}
|