Skip to content

Commit 6dc6ff5

Browse files
committed
merge gitignore
2 parents b5d4a1c + fa81bda commit 6dc6ff5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ bower_components
66
__pycache__/
77
*~
88
/.vscode/setting.json
9-
9+
/ide/.vscode

ide/routes.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
localport = '8080' # normally 8080
3131
website = 'glowscript' # normally glowscript
32-
weblocs = ["www."+website+".org", website+".org", "localhost:"+localport,"127.0.0.1:"+localport, "www.glowscriptdev.spvi.net"]
32+
weblocs = ["www."+website+".org", website+".org", "localhost:"+localport,"127.0.0.1:"+localport, "www.glowscriptdev.spvi.net","devbasherwo.uc.r.appspot.com"]
3333
local_hosts = ['http://localhost','http://127.0.0.1']
3434

3535
import json
@@ -108,7 +108,10 @@ def idejs_static():
108108

109109
@app.route('/lib/<path:filename>')
110110
def lib_static(filename):
111-
return flask.send_from_directory('../lib', filename)
111+
cache_timeout = None
112+
if is_running_locally():
113+
cache_timeout=0
114+
return flask.send_from_directory('../lib', filename, cache_timeout=cache_timeout)
112115

113116
@app.route('/package/<path:filename>')
114117
def package_static(filename):

0 commit comments

Comments
 (0)