Skip to content

Commit

Permalink
Fix #96
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Aug 12, 2023
1 parent 9b19316 commit 2795d10
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion css_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ def start_server(plugin):

PLUGIN_CLASS = plugin
loop = asyncio.get_running_loop()
create_cef_flag()

try:
create_cef_flag()
except Exception as e:
Log(f"Failed to create steam cef flag. {str(e)}")

app = aiohttp.web.Application(loop=loop)
app.router.add_route('POST', '/req', handle)
loop.create_task(aiohttp.web._run_app(app, host="127.0.0.1", port=35821))
Expand Down

0 comments on commit 2795d10

Please sign in to comment.