Skip to content

Commit 81e441c

Browse files
committed
undo
1 parent a44e2c6 commit 81e441c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

services/static-webserver/client/scripts/post-compile.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,5 @@ def update_apps_metadata():
3737
file.write(data)
3838

3939

40-
def force_no_cache():
41-
dirname = os.path.dirname(__file__)
42-
for output_folder in output_folders:
43-
filename = os.path.join(dirname, '..', output_folder, "osparc", "boot.js")
44-
if not os.path.isfile(filename):
45-
continue
46-
with open(filename, "r") as file:
47-
data = file.read()
48-
data = data.replace("addNoCacheParam : false", "addNoCacheParam : true")
49-
with open(filename, "w") as file:
50-
print(f"Updating addNoCacheParam: {filename}")
51-
file.write(data)
52-
53-
5440
if __name__ == "__main__":
5541
update_apps_metadata()
56-
force_no_cache()

0 commit comments

Comments
 (0)