//STG sever cognito_identity_pool_id = 'ap-northeast-1:0bf5c8ce-013f-4ef4-8867-8faaf61ec930' cognito_user_pool_id = 'ap-northeast-1_OP5Uui0Ua' cognito_user_pool_client_id = '3sopmro13qa70ndlh86k8mcm5d' apigateway_invoke_url = 'https://igokofaq6j.execute-api.ap-northeast-1.amazonaws.com' //DEMO server cognito_identity_pool_id = 'ap-northeast-1:47501d9e-c22d-4992-b7dc-c0ec0c428eb3' cognito_user_pool_id = 'ap-northeast-1_0DwSgjlaZ' cognito_user_pool_client_id = '4b7n7e1toagmmgo8klb2scvgd9' api_url = "https://6hzk3o0peh.execute-api.ap-northeast-1.amazonaws.com/Prod" Date.prototype.addDays = function (days) { var date = new Date(this.valueOf()); date.setDate(date.getDate() + days); return date; } Date.prototype.formatDate = function () { var y = this.getFullYear(); var m = ('00' + (this.getMonth() + 1)).slice(-2); var d = ('00' + this.getDate()).slice(-2); return (y + '/' + m + '/' + d); }