我正在使用应用程序引擎并部署反应应用程序。我正在尝试提供 GTLF 文件,但无法找到它们。它位于公共文件夹中,我认为我正在从 yaml 文件正确指定路径。如果我错了请纠正我。
它在本地主机上完美运行
我还有什么遗漏的吗??
runtime: nodejs20
env: standard
service: default
handlers:
- url: /static
static_dir: build/static
- url: /(.*\.(json|ico|js))$
static_files: build/\1
upload: build/.*\.(json|ico|js)$
- url: .*
static_files: build/index.html
upload: build/index.html
- url: /scene\.gltf
static_files: /scene.gltf
upload: /scene.gltf
mime_type: model/gltf+json
- url: /scene\.bin
static_files: /scene.bin
upload: /scene.bin
mime_type: application/octet-stream
I tried changing mime type tried using glb file but still App engine isn't able to locate that file