Add tutorial route; gate lib workspace for superusers; Py worker v4
- Serve /tutorial and add tutorial.html/tutorial.js assets - Fetch auth role; hide lib from non-superusers in tree and restored tabs - Cache workspace Python sources briefly for Py worker - Pyodide worker and home/index links/styling tweaks Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Python Editor</title>
|
||||
<link rel="icon" href="data:,">
|
||||
<link rel="stylesheet" href="/static/styles.css?v=10">
|
||||
<link rel="stylesheet" href="/static/styles.css?v=12">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
@@ -87,6 +87,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="module" src="/static/script.js?v=23"></script>
|
||||
<script type="module" src="/static/script.js?v=25"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user