Compare commits
2
Commits
7edf179ec9
...
3cd159a63e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3cd159a63e | ||
|
|
0688075542 |
No files matched your search
@@ -27,6 +27,8 @@ jobs:
|
|||||||
- name: Run checks
|
- name: Run checks
|
||||||
env:
|
env:
|
||||||
API_BASE: ${{ github.server_url }}/api/v1
|
API_BASE: ${{ github.server_url }}/api/v1
|
||||||
|
# github.server_url is the internal runner host, so the commit link needs the public one.
|
||||||
|
WEB_BASE: https://git.ruv.wtf
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
SHA: ${{ github.sha }}
|
SHA: ${{ github.sha }}
|
||||||
# Prefer a PAT with issue write scope (secret: GITEA_TOKEN).
|
# Prefer a PAT with issue write scope (secret: GITEA_TOKEN).
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ API_BASE="${API_BASE:?API_BASE is required}"
|
|||||||
REPO="${REPO:?REPO is required}"
|
REPO="${REPO:?REPO is required}"
|
||||||
TOKEN="${TOKEN:?TOKEN is required}"
|
TOKEN="${TOKEN:?TOKEN is required}"
|
||||||
SHA="${SHA:-}"
|
SHA="${SHA:-}"
|
||||||
BASE="${API_BASE%/api/v1}"
|
BASE="${WEB_BASE:-${API_BASE%/api/v1}}"
|
||||||
LABEL="ci-checks"
|
LABEL="ci-checks"
|
||||||
SHOW="${SHOW:-50}"
|
SHOW="${SHOW:-50}"
|
||||||
|
|
||||||
|
|||||||
@@ -453,9 +453,7 @@ function MessageNotifications() {
|
|||||||
function BackgroundSyncSetup() {
|
function BackgroundSyncSetup() {
|
||||||
const mx = useMatrixClient();
|
const mx = useMatrixClient();
|
||||||
// Try to make a simple fetch to verify component is rendering
|
// Try to make a simple fetch to verify component is rendering
|
||||||
try {
|
fetch('/_matrix/client/v3/sync', { method: 'HEAD' }).catch(() => {});
|
||||||
fetch('/_matrix/client/v3/sync', { method: 'HEAD' }).catch(() => {});
|
|
||||||
} catch {}
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log('BackgroundSyncSetup: Starting background sync for', mx.getUserId());
|
console.log('BackgroundSyncSetup: Starting background sync for', mx.getUserId());
|
||||||
|
|||||||
Reference in new issue
Block a user