fix: Fixed cross platform errors and emulatorjs not opening on linux
This commit is contained in:
parent
f33c928633
commit
df20979afa
6 changed files with 39 additions and 18 deletions
|
|
@ -9,6 +9,8 @@ export default new Elysia({ prefix: "/api/romm" })
|
|||
.use([games, platforms, auth])
|
||||
.all("/*", async ({ request, params, set }) =>
|
||||
{
|
||||
set.headers["cross-origin-resource-policy"] = 'cross-origin';
|
||||
|
||||
if (!config.has('rommAddress') && !config.get('rommAddress'))
|
||||
{
|
||||
return new Response("Romm Address Not Found", { status: 404 });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue