We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
plotlyServerUrl
baseUrl
1 parent edc166f commit 468b844Copy full SHA for 468b844
src/plots/plots.js
@@ -214,7 +214,11 @@ function positionPlayWithData(gd, container) {
214
plots.sendDataToCloud = function(gd) {
215
gd.emit('plotly_beforeexport');
216
217
- var baseUrl = (window.PLOTLYENV && window.PLOTLYENV.BASE_URL) || 'https://plot.ly';
+ var baseUrl = (
218
+ (window.PLOTLYENV && window.PLOTLYENV.BASE_URL) ||
219
+ (gd.framework.getConfig().plotlyServerUrl) ||
220
+ 'https://plot.ly'
221
+ );
222
223
var hiddenformDiv = d3.select(gd)
224
.append('div')
0 commit comments