ChurchAngular/src/environments/environment.ts
Chris Chen 719108fd6a WIP
2025-11-03 21:11:10 -08:00

28 lines
1.5 KiB
TypeScript

/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
// 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 urls = [
'https://localhost:44374',//IIS express
"https://localhost:49155",//Docker debug
'https://api.golife.love'
];
const LINE_CLIENT_ID = '1657422139';
const dockerDebug = urls[0];
export const environment = {
production: false,
apiUrl: dockerDebug,
signalRUrl: dockerDebug,//"https://localhost:49155",
invitationUrl: "http://localhost:4200/invitation/",
GAPI_CLIENT_ID: "93084169278-tp30i81laf1nu1mpgrc6m2o5sm32e28t.apps.googleusercontent.com",
GAPI_LOGIN_CALL_BACK: "http://localhost:4200/auth/googleLoginCallback",
LINE_CLIENT_ID: LINE_CLIENT_ID,
LINE_LOGIN_URL: `https://access.line.me/oauth2/v2.1/authorize?response_type=code&client_id=${LINE_CLIENT_ID}&redirect_uri=https%3A%2F%2Fgolife.love%2Fauth%2FlineLogin&state=@STATE&scope=profile%20openid%20email%20%09`
};
//lineLogin
//https://access.line.me/oauth2/v2.1/authorize?response_type=code&client_id=1657422139&redirect_uri=https%3A%2F%2Fgolife.love%2Fauth%2FlineLogin&state=awefwe23321412&scope=profile%20openid%20email%20%09