39 lines
1.3 KiB
TypeScript
39 lines
1.3 KiB
TypeScript
// The file contents for the current environment will overwrite these during build.
|
|
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
|
|
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
|
|
// The list of which env maps to which file can be found in `.angular-cli.json`.
|
|
|
|
const environment_local = {
|
|
production: false,
|
|
// URL of development API
|
|
applName: "karideo",
|
|
defaultServer: "karideo",
|
|
server: {
|
|
karideo: 'http://localhost:18080/karideo/api',
|
|
karauth: 'http://192.168.1.156/karauth/api',
|
|
},
|
|
ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/',
|
|
ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',
|
|
ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/',
|
|
frontBaseUrl: '',
|
|
//apiMode: 'REWRITE'
|
|
};
|
|
|
|
const environment_hybrid = {
|
|
production: false,
|
|
// URL of development API
|
|
applName: "karideo",
|
|
defaultServer: "karideo",
|
|
server: {
|
|
karideo: 'http://192.168.1.156/karideo/api',
|
|
karauth: 'http://192.168.1.156/karauth/api',
|
|
},
|
|
ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/',
|
|
ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',
|
|
ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/',
|
|
frontBaseUrl: '',
|
|
apiMode: 'REWRITE'
|
|
};
|
|
|
|
|
|
export const environment = environment_hybrid; |