initial commit

This commit is contained in:
Chris Chen
2022-09-30 10:53:48 -07:00
commit 911b45739d
1026 changed files with 149872 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
const LINE_CLIENT_ID = '1657422139';
export const environment = {
production: true,
apiUrl: "https://api.happiness.tours",
signalRUrl: "https://api.happiness.tours",
invitationUrl: "https://happiness.tours/invitation/",
GAPI_CLIENT_ID: "93084169278-tp30i81laf1nu1mpgrc6m2o5sm32e28t.apps.googleusercontent.com",
GAPI_LOGIN_CALL_BACK: "https://happiness.tours/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%2Fhappiness.tours%2Fauth%2FlineLogin&state=@STATE&scope=profile%20openid%20email%20%09`
};
+28
View File
@@ -0,0 +1,28 @@
/**
* @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.happiness.tours'
];
const LINE_CLIENT_ID = '1657422139';
const dockerDebug = urls[1];
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%2Fhappiness.tours%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%2Fhappiness.tours%2Fauth%2FlineLogin&state=awefwe23321412&scope=profile%20openid%20email%20%09