init commit,

This commit is contained in:
louiscklaw
2025-05-28 09:55:51 +08:00
commit efe70ceb69
8042 changed files with 951668 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
const port = process.env.PORT ? Number(process.env.PORT) : 3001;
const endpoint = process.env.ENDPOINT ?? `http://127.0.0.1:${port}`;
const oobiEndpoint = process.env.OOBI_ENDPOINT ?? endpoint;
const keriaUrl = process.env.KERIA_ENDPOINT ?? "http://127.0.0.1:3901";
const keriaBootUrl = process.env.KERIA_BOOT_ENDPOINT ?? "http://127.0.0.1:3903";
const config = {
endpoint: endpoint,
oobiEndpoint: oobiEndpoint,
endpoints: [endpoint],
port,
keria: {
url: keriaUrl,
bootUrl: keriaBootUrl,
},
path: {
ping: "/ping",
shorten: "/shorten/:id",
createShorten: "/shorten",
keriOobi: "/keriOobi",
issueAcdcCredential: "/issueAcdcCredential",
schemaOobi: "/oobi/:id",
contacts: "/contacts",
resolveOobi: "/resolveOobi",
requestDisclosure: "/requestDisclosure",
revokeCredential: "/revokeCredential",
},
};
export { config };