Skip to content

Commit 79393d1

Browse files
committed
use lake serve
1 parent aea46d8 commit 79393d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ function App() {
178178
_leanMonaco.setInfoviewElement(infoviewRef.current!)
179179
;(async () => {
180180
await _leanMonaco.start(options)
181-
await leanMonacoEditor.start(editorRef.current!, `/project/${project}.lean`, code)
181+
await leanMonacoEditor.start(editorRef.current!, `./${project}.lean`, code)
182182

183183
setEditor(leanMonacoEditor.editor)
184184
setLeanMonaco(_leanMonaco)

server/bubblewrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if command -v bwrap >/dev/null 2>&1; then
3333
--unshare-cgroup \
3434
--die-with-parent \
3535
--chdir "/project/" \
36-
lean --server
36+
lake serve --
3737
)
3838
else
3939
echo "bwrap is not installed. Running without container." >&2

0 commit comments

Comments
 (0)