-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from urbanriskmap/dev
flagged reports functionality
- Loading branch information
Showing
6 changed files
with
42 additions
and
28 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,51 @@ | ||
export const environment = { | ||
production: false, | ||
envName: 'dev-us', | ||
deploymentName: 'us', | ||
envName: 'dev-in', | ||
deploymentName: 'in', | ||
|
||
servers: { | ||
data: 'https://data-dev.riskmap.us/', | ||
sensors: 'https://sensors-dev.riskmap.us/', | ||
web_app: 'https://dev.riskmap.us/', | ||
data: 'https://data-dev.riskmap.in/', | ||
sensors: 'https://sensors-dev.riskmap.in/', | ||
web_app: 'https://dev.riskmap.in/', | ||
settings: { | ||
reportTimeperiod: 604800 | ||
} | ||
}, | ||
|
||
authorization: { | ||
userPoolId: 'us-west-2_olPNYtmQ7', | ||
appClientId: '5en9df3auvag0msrurit123v30' | ||
userPoolId: 'ap-south-1_yNLDVmvAW', | ||
appClientId: '7iu4qevi6rge61bsnaovckghup' | ||
}, | ||
|
||
map: { | ||
accessToken: 'pk.eyJ1IjoidXJiYW5yaXNrbWFwIiwiYSI6ImNqZnY2cGxndzN3M3AyeHMydGVyeHcyMWIifQ.D6K1H9c8CTnP6twGYdtDKA', | ||
center: [-80.199261, 26.138301], | ||
initZoom: 11, | ||
minZoom: 9, | ||
center: [76.5, 19], // map initializes on india | ||
initZoom: 6, | ||
minZoom: 6, | ||
baseMapStyle: 'mapbox://styles/urbanriskmap/cjfvacwic1cfc2smiwbyfwcs4' | ||
}, | ||
|
||
locales: { | ||
supportedLanguages: [ | ||
{code: 'en', name: 'English'}, | ||
{code: 'es', name: 'Spanish'} | ||
{code: 'hi', name: 'Hindi'}, | ||
{code: 'ta', name: 'Tamil'}, | ||
{code: 'mr', name: 'Marathi'}, | ||
{code: 'ml', name: 'Malayalam'} | ||
], | ||
defaultLanguage: 'en', | ||
timezone: 'America/New_York' | ||
timezone: 'Asia/Kolkata' | ||
}, | ||
|
||
networks: { | ||
contact_links: { | ||
flag_email: 'risk@mit.edu' | ||
flag_email: 'riskmap@mit.edu' | ||
}, | ||
|
||
deep_links: [ | ||
{ name: 'facebook', | ||
link: 'http://m.me/1747847428843379' // FB page id is used as no username is allowed at this point. | ||
}, | ||
{ name: 'twitter', | ||
link: 'https://twitter.com/messages/compose?recipient_id=915571825689624576' | ||
}, | ||
{ | ||
name: 'sms', | ||
link: 'sms:1-202-883-5663;?&body=flood' | ||
} | ||
// Disable telegram button for US deployment | ||
// {name: 'telegram', link: 'https://telegram.me/CognicityUS_bot'} | ||
] | ||
{name: 'facebook', link: 'http://m.me/CognicityDevIndia'}, | ||
// {name: 'twitter', link: 'https://twitter.com/intent/tweet?text=Report+flood&via=CognicityDev_IN'}, | ||
{name: 'telegram', link: 'https://telegram.me/CognicityIN_bot'} | ||
] | ||
} | ||
}; |