mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
fix(interactions): add async responses
This commit is contained in:
parent
3601d435b2
commit
26bc74bcbc
11 changed files with 220 additions and 149 deletions
|
@ -101,6 +101,9 @@ const server = http.createServer((req, res) => {
|
|||
);
|
||||
isResponseConstructorAllowed = false;
|
||||
},
|
||||
waitUntil: async (promise) => {
|
||||
await promise;
|
||||
},
|
||||
request: new fetch.Request(
|
||||
new URL(`http://${req.headers.host || 'localhost'}${req.url}`),
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue