Or just use a literal route maybe? (Untested)
root C:\websites\grondahl-frontend
route {
reverse_proxy /api* localhost:5000
try_files {path} {path}/ /index.html?{query}
file_server
}
Just spitballing here. But that might do what you want.