fossasia / loklak_webclient

loklak web application
http://loklak-web.herokuapp.com
MIT License
1.56k stars 49 forks source link

Bfix: Fixes domain(port) in configFile ( Fixes #565 ) #566

Closed sopankhosla closed 8 years ago

sopankhosla commented 8 years ago

Fixes #565

sudheesh001 commented 8 years ago

@sopu We are not sure if this is what is needed, Are you using oauth-proxy in a seperate screen session ?

sopankhosla commented 8 years ago

@sudheesh001: When I tried opening the twitter wall on localhost:3000, " 'Access-Control-Allow-Origin' value does not match" error popped up which AFAIU is due to the domain name specified in the config file. Changing the domain name worked for me. PS: In dev mode.

sopankhosla commented 8 years ago

@sudheesh001 Suggestions??

sudheesh001 commented 8 years ago

@aneeshd16 Can you review this please, it seems to be breaking for me.

aneeshd16 commented 8 years ago

@sopu gulp uses custom_configFile.json to load these settings. My custom_configFile.json has http://localhost:3000 as the domain. This should be good to merge. @sudheesh001 dunno how this can break things. Can you please recheck?