Skip to content

aw-server rust CORS issue #1

Description

@jpcafe10

aw-server rust is not liking the tauri://localhost origin, investigate...

[2023-04-16 22:14:36][INFO][aw_server]: Using DB at path "/Users/BelKed/Library/Application Support/activitywatch/aw-server-rust/sqlite.db"
[2023-04-16 22:14:36][INFO][aw_server]: Cannot find assets "./aw-webui/dist/"
[2023-04-16 22:14:36][INFO][aw_server]: Using aw-webui assets at path "/Applications/ActivityWatch.app/Contents/Resources/aw_server_rust/static/"
[2023-04-16 22:14:36][INFO][aw_server::endpoints]: Starting aw-server-rust at 127.0.0.1:5600
thread 'main' panicked at 'Failed to set up CORS: OpaqueAllowedOrigin(["tauri://localhost"])', aw-server/src/endpoints/cors.rs:42:6
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions