Skip to content

Commit e043aad

Browse files
committed
Fix embed issue
1 parent caec130 commit e043aad

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

ForInstalledPython/glow.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ide/ide.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ $(function () {
13141314
else if (v >= 2.2) verdir = "2.1"
13151315
else verdir = header.version.substr(0,3)
13161316
var runner = ''
1317-
var exporturl = "https://www."+website+".org/"
1317+
var exporturl = "https://www."+website+"/"
13181318
if (v >= 2.5 && v < 3.0) exporturl = "https://s3.amazonaws.com/glowscript/"
13191319
// Note: some already exported 3.0 programs contain references to s3.amazonaws.com
13201320
if (header.lang == 'vpython')

lib/glow/primitives.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,7 @@
216216
if (jv !== undefined) { // location in Jupyter VPython of texture files: "/nbextensions/vpython_data/"
217217
name = jv+name.slice(1)
218218
} else {
219-
if (navigator.onLine) name = "https://s3.amazonaws.com/glowscript/textures/"+name.slice(1)
220-
else name = "../lib/FilesInAWS/"+name.slice(1)
219+
name = "../lib/FilesInAWS/"+name.slice(1)
221220
}
222221
}
223222
obj.canvas.__renderer.initTexture(name, obj, isbump)

package/glow.3.0.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)