Permalink
Browse files

Add the project ID to the URL, to solve problems with preflighted COR…

…S requests
  • Loading branch information...
1 parent 3dc3dcc commit 4b0bea4ac2651038e0857efe18077876d483841f @bkonkle bkonkle committed May 2, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/raven.js
  2. +1 −1 version.txt
View
@@ -66,7 +66,7 @@
}
return {
- servers: [uri.protocol + '://' + uri.host + ':' + uri.port + '/' + path + 'api/store/'],
+ servers: [uri.protocol + '://' + uri.host + ':' + uri.port + '/' + path + 'api/' + project_id + '/store/'],
publicKey: uri.user,
secretKey: uri.password,
projectId: project_id
View
@@ -1 +1 @@
-0.3.1pre
+0.4pre

0 comments on commit 4b0bea4

Please sign in to comment.