mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-13 02:31:34 -05:00
Add --host flag and index redirect for playground
This commit is contained in:
parent
c650de8520
commit
0465ee2076
2 changed files with 8 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ watch:
|
||||||
$(WEBPACK) --watch
|
$(WEBPACK) --watch
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
$(WEBPACK_DEV_SERVER) --content-base ./
|
$(WEBPACK_DEV_SERVER) --host 0.0.0.0 --content-base ./
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
7
index.html
Normal file
7
index.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0; URL='/playground'" />
|
||||||
|
<title>Redirect to playground</title>
|
||||||
|
</head>
|
||||||
|
</html>
|
Loading…
Reference in a new issue