cart page bearable on mobile

This commit is contained in:
Senad Uka
2015-06-21 12:24:18 +02:00
parent a158c76789
commit 52a03f3334
4 changed files with 250 additions and 139 deletions

View File

@@ -16,7 +16,7 @@ before do
content_type :json
# TODO: before running to production change this so that only specific
# domain is allowed
headers 'Access-Control-Allow-Origin' => 'http://localhost:3001',
headers 'Access-Control-Allow-Origin' => 'http://192.168.1.37:3001',
'Access-Control-Allow-Methods' => ['OPTIONS', 'GET', 'POST','PUT'],
'Access-Control-Allow-Headers' => 'Origin, X-Requested-With, Content-Type, Accept',
'Access-Control-Expose-Headers' => 'X-Total-Count',