The solution was to add a manifest.json file with "display": "standalone".
manifest.json
"display": "standalone"