Skip to content

Commit

Permalink
Add the project ID to the URL, to solve problems with preflighted COR…
Browse files Browse the repository at this point in the history
…S requests
  • Loading branch information
bkonkle committed May 2, 2012
1 parent 3dc3dcc commit 4b0bea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/raven.js
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion version.txt
@@ -1 +1 @@
0.3.1pre
0.4pre

0 comments on commit 4b0bea4

Please sign in to comment.