social-app を更新
@@ -213,4 +213,57 @@ server {
|
|||||||
- ./configs/ipcc/default.conf:/etc/nginx/conf.d/default.conf
|
- ./configs/ipcc/default.conf:/etc/nginx/conf.d/default.conf
|
||||||
ports:
|
ports:
|
||||||
- "8099:80"
|
- "8099:80"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## web clientのloginが動作しない
|
||||||
|
|
||||||
|
<a name="8980-social-app-bluesky-proxy-header-patch"></a>8980: social-app BLUESKY_PROXY_HEADER patch (2025-12-03)
|
||||||
|
|
||||||
|
https://github.com/bluesky-social/social-app/pull/8980
|
||||||
|
|
||||||
|
```diff
|
||||||
|
diff --git a/src/state/session/agent.ts b/src/state/session/agent.ts
|
||||||
|
index 36d19299b..ba095436a 100644
|
||||||
|
--- a/src/state/session/agent.ts
|
||||||
|
+++ b/src/state/session/agent.ts
|
||||||
|
@@ -39,7 +39,8 @@ export function createPublicAgent() {
|
||||||
|
configureModerationForGuest() // Side effect but only relevant for tests
|
||||||
|
|
||||||
|
const agent = new BskyAppAgent({service: PUBLIC_BSKY_SERVICE})
|
||||||
|
- agent.configureProxy(BLUESKY_PROXY_HEADER.get())
|
||||||
|
+ // Disable proxy for self-hosted environments
|
||||||
|
+ // agent.configureProxy(BLUESKY_PROXY_HEADER.get())
|
||||||
|
return agent
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -77,7 +78,8 @@ export async function createAgentAndResume(
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- agent.configureProxy(BLUESKY_PROXY_HEADER.get())
|
||||||
|
+ // Disable proxy for self-hosted environments
|
||||||
|
+ // agent.configureProxy(BLUESKY_PROXY_HEADER.get())
|
||||||
|
|
||||||
|
return agent.prepare(gates, moderation, onSessionChange)
|
||||||
|
}
|
||||||
|
@@ -112,7 +114,8 @@ export async function createAgentAndLogin(
|
||||||
|
const gates = tryFetchGates(account.did, 'prefer-fresh-gates')
|
||||||
|
const moderation = configureModerationForAccount(agent, account)
|
||||||
|
|
||||||
|
- agent.configureProxy(BLUESKY_PROXY_HEADER.get())
|
||||||
|
+ // Disable proxy for self-hosted environments
|
||||||
|
+ // agent.configureProxy(BLUESKY_PROXY_HEADER.get())
|
||||||
|
|
||||||
|
return agent.prepare(gates, moderation, onSessionChange)
|
||||||
|
}
|
||||||
|
@@ -201,7 +204,8 @@ export async function createAgentAndCreateAccount(
|
||||||
|
logger.error(e, {message: `session: failed snoozeEmailConfirmationPrompt`})
|
||||||
|
}
|
||||||
|
|
||||||
|
- agent.configureProxy(BLUESKY_PROXY_HEADER.get())
|
||||||
|
+ // Disable proxy for self-hosted environments
|
||||||
|
+ // agent.configureProxy(BLUESKY_PROXY_HEADER.get())
|
||||||
|
|
||||||
|
return agent.prepare(gates, moderation, onSessionChange)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user