Skip to content

Add /install/tasks to middleware public paths #278

@psdjungpulzze

Description

@psdjungpulzze

Problem

src/middleware.ts redirects all unauthenticated requests to the login page. /install/tasks is not in the isPublicPath list, so curl -fsSL https://build.interactor.com/install/tasks | sh still returns an HTML login page even though the route was added in #276.

Fix

Add pathname.startsWith("/install/") to the isPublicPath block in src/middleware.ts.

Acceptance Criteria

  • curl -fsSL https://build.interactor.com/install/tasks | sh returns #!/bin/sh as the first line
  • All existing auth-protected routes are unaffected

Task

Task #34add-install-tasks-to-middleware-public-paths

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions