From 12f757ac2aea821be3ff32368179ffc163e3bfe2 Mon Sep 17 00:00:00 2001
From: hsp2m10 <hp3@ecs.soton.ac.uk>
Date: Sun, 3 Nov 2024 12:27:38 +0000
Subject: [PATCH] Update 2 files

- /app.yaml
- /package.json
---
 app.yaml     | 5 ++++-
 package.json | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/app.yaml b/app.yaml
index 8a30ad2..f2cdcdb 100644
--- a/app.yaml
+++ b/app.yaml
@@ -2,6 +2,10 @@
 runtime: nodejs
 env: flex
 
+runtime_config:
+  operating_system: "ubuntu22"
+  runtime_version: "20"
+
 # Only use one instance
 manual_scaling:
   instances: 1
@@ -11,4 +15,3 @@ resources:
   cpu: 1
   memory_gb: 0.5
   disk_size_gb: 10
-
diff --git a/package.json b/package.json
index 4bb3f8c..bebaa87 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "description": "ECS Example Game",
   "main": "app.js",
   "engines": {
-    "node": "16.x"
+    "node": "20.x"
   },
   "scripts": {
     "start": "node app.js",
-- 
GitLab