Spaces:
Runtime error
Runtime error
GitLab CI commited on
Commit ·
c158679
1
Parent(s): e401010
Update game build from GitLab CI
Browse files- server/__main__.py +3 -1
- server/static/godot/index.html +1 -1
- server/static/godot/index.pck +2 -2
server/__main__.py
CHANGED
|
@@ -30,7 +30,9 @@ logger = logging.getLogger(__name__)
|
|
| 30 |
|
| 31 |
# Use a directory in the user's home folder for static files
|
| 32 |
STATIC_DIR = (
|
| 33 |
-
"/app/server/static"
|
|
|
|
|
|
|
| 34 |
)
|
| 35 |
|
| 36 |
# Each packet is a tuple of (data, token)
|
|
|
|
| 30 |
|
| 31 |
# Use a directory in the user's home folder for static files
|
| 32 |
STATIC_DIR = (
|
| 33 |
+
"/app/server/static"
|
| 34 |
+
if os.getenv("DEBUG") != "True"
|
| 35 |
+
else os.path.join(os.getcwd(), "html")
|
| 36 |
)
|
| 37 |
|
| 38 |
# Each packet is a tuple of (data, token)
|
server/static/godot/index.html
CHANGED
|
@@ -97,7 +97,7 @@ body {
|
|
| 97 |
|
| 98 |
<script src="index.js"></script>
|
| 99 |
<script>
|
| 100 |
-
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":false,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":
|
| 101 |
const GODOT_THREADS_ENABLED = false;
|
| 102 |
const engine = new Engine(GODOT_CONFIG);
|
| 103 |
|
|
|
|
| 97 |
|
| 98 |
<script src="index.js"></script>
|
| 99 |
<script>
|
| 100 |
+
const GODOT_CONFIG = {"args":[],"canvasResizePolicy":2,"ensureCrossOriginIsolationHeaders":false,"executable":"index","experimentalVK":false,"fileSizes":{"index.pck":18582528,"index.wasm":35376909},"focusCanvas":true,"gdextensionLibs":[]};
|
| 101 |
const GODOT_THREADS_ENABLED = false;
|
| 102 |
const engine = new Engine(GODOT_CONFIG);
|
| 103 |
|
server/static/godot/index.pck
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5966762567f3cd97a97c8acafff3781f87520ad67647f881a0826c40c3a51b85
|
| 3 |
+
size 18582528
|