fix(server): preserve v1 auth compatibility
This commit is contained in:
parent
43c08387f1
commit
fc7e4cf93e
3 changed files with 6 additions and 5 deletions
|
|
@ -148,7 +148,7 @@ function dispatch(
|
|||
application: Ref.Ref<Option.Option<App>>,
|
||||
shutdown: Deferred.Deferred<void>,
|
||||
): App {
|
||||
const auth = ServerAuth.Config.of({ password: Option.some(password) })
|
||||
const auth = ServerAuth.Config.of({ password: Option.some(password), username: "opencode" })
|
||||
return Effect.gen(function* () {
|
||||
const request = yield* HttpServerRequest.HttpServerRequest
|
||||
const url = new URL(request.url, "http://localhost")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue