tangled
alpha
login
or
join now
hexmani.ac
/
clippr
12
fork
atom
social bookmarking for atproto
12
fork
atom
overview
issues
1
pulls
pipelines
[backend] Fix linter errors (whoops)
hexmani.ac
7 months ago
57c45b81
6f60f052
verified
This commit was signed with the committer's
known signature
.
hexmani.ac
SSH Key Fingerprint:
SHA256:tV3v2UX4P3x12jjh+mHVzpRQ4ZhNBCHoFwqRiYzzTcM=
3/3
build_backend.yaml
success
11s
build_frontend.yaml
success
7s
build_lexicons.yaml
success
6s
+5
-5
3 changed files
expand all
collapse all
unified
split
backend
drizzle.config.ts
src
config.ts
routes
well-known.ts
+1
-3
backend/drizzle.config.ts
reviewed
···
9
9
import { Config } from "./src/config.ts";
10
10
11
11
const config = Config.getInstance().getConfig();
12
12
-
let dbname;
13
13
-
14
14
-
dbname = config.database.name;
12
12
+
const dbname = config.database.name;
15
13
16
14
export default defineConfig({
17
15
out: "./drizzle",
+3
-1
backend/src/config.ts
reviewed
···
18
18
network: {
19
19
firehose: string | "jetstream1.us-east.bsky.network";
20
20
serviceDid: string | "did:web:localhost%3A9090";
21
21
-
didSigningKey: string | "did:key:zDnaeuuRRQuYp4S76LwosLhHbpU1HJcg6S5oJAUHmdZLVdLM5";
21
21
+
didSigningKey:
22
22
+
| string
23
23
+
| "did:key:zDnaeuuRRQuYp4S76LwosLhHbpU1HJcg6S5oJAUHmdZLVdLM5";
22
24
};
23
25
}
24
26
+1
-1
backend/src/routes/well-known.ts
reviewed
···
13
13
14
14
const serviceDid: string = config.network.serviceDid;
15
15
const signingKey: string = config.network.didSigningKey;
16
16
-
let baseUrl: string = config.baseUrl
16
16
+
let baseUrl: string = config.baseUrl;
17
17
18
18
if (!baseUrl.startsWith("http://") || !baseUrl.startsWith("https://")) {
19
19
baseUrl = `http://${baseUrl.replace(/^https?:\/\//, "")}`;