Commit Graph

11 Commits

Author SHA1 Message Date
Arpit Mohan
63414f98d5 Adding custom headers to redirect rules in netlify.toml.
This is required for the backend servers to process the OAuth2 login properly
2020-05-19 09:44:19 +05:30
Arpit Mohan
a49e8269aa Reversing the proxy changes to netlify.toml and nginx config files
This is not working in Heroku environment.

Note to self: Debug on local properly before pushing.
2020-05-18 19:22:16 +05:30
Arpit Mohan
c3734235a5 Correcting the APP_HOST to hostname instead of URL 2020-05-18 17:55:24 +05:30
Arpit Mohan
48f1a66bcb Adding the Host header to the netlify.toml file for each environment.
This ensures that when we proxy the request to the backend API, the API is able to redirect properly for Google & Github OAuth2 providers.
2020-05-18 17:45:23 +05:30
Arpit Mohan
24af3dbfc3 Adding the environment variables for the deploy-preview environments. 2020-05-14 12:13:32 +05:30
Arpit Mohan
9f2267ed68 Moving all redirect configuration to the netlify.toml file
This is to ensure that all Netlify redirects are in a single location and and removing _redirects file. This file was creating a problem between the proxy redirects and the catch-all redirect to index.html
2020-05-13 02:13:22 +05:30
Arpit Mohan
aefcf68c80 Adding the docker image for Cypress + Nginx container.
Also modifying the Gitlab CI to use local Nginx for proxying to API backend while running Cypress tests.
2020-05-12 19:59:36 +00:00
Abhinav Jha
c2d3b9952d Fix filepicker issue. Add netlify.toml. Remove chance.js 2020-04-17 15:03:36 +05:30
Abhinav Jha
de5fead89b Hotfix/baseurl env 2020-01-22 12:26:25 +00:00
Abhinav Jha
70d0c9d048 A/B test branches 2020-01-10 17:52:45 +05:30
Arpit Mohan
a05209aa69 Adding the netlify.toml for deploy contexts for different environment variables for different branches 2019-11-22 16:36:41 +05:30