|
@@ -5,7 +5,7 @@ import { HttpApiError, HttpApiMiddleware, HttpApiSecurity } from "effect/unstabl
|
|
|
|
|
|
|
|
const AUTH_TOKEN_QUERY = "auth_token"
|
|
const AUTH_TOKEN_QUERY = "auth_token"
|
|
|
const UNAUTHORIZED = 401
|
|
const UNAUTHORIZED = 401
|
|
|
-const WWW_AUTHENTICATE = "Basic realm=\"Secure Area\""
|
|
|
|
|
|
|
+const WWW_AUTHENTICATE = 'Basic realm="Secure Area"'
|
|
|
|
|
|
|
|
export class Authorization extends HttpApiMiddleware.Service<Authorization>()(
|
|
export class Authorization extends HttpApiMiddleware.Service<Authorization>()(
|
|
|
"@opencode/ExperimentalHttpApiAuthorization",
|
|
"@opencode/ExperimentalHttpApiAuthorization",
|