File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1262,7 +1262,7 @@ AmplitudeClient.prototype.sendEvents = function sendEvents(callback) {
1262
1262
1263
1263
this . _sending = true ;
1264
1264
var protocol = this . options . forceHttps ? 'https' : ( 'https:' === window . location . protocol ? 'https' : 'http' ) ;
1265
- var url = protocol + '://' + this . options . apiEndpoint + '/' ;
1265
+ var url = protocol + '://' + this . options . apiEndpoint ;
1266
1266
1267
1267
// fetch events to send
1268
1268
var numEvents = Math . min ( this . _unsentCount ( ) , this . options . uploadBatchSize ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import language from './language';
2
2
3
3
// default options
4
4
export default {
5
- apiEndpoint : 'api.amplitude.com' ,
5
+ apiEndpoint : 'api.amplitude.com/ ' ,
6
6
batchEvents : false ,
7
7
cookieExpiration : 365 * 10 ,
8
8
cookieName : 'amplitude_id' ,
You can’t perform that action at this time.
0 commit comments