addition of archive server listing
This commit is contained in:
@@ -4,8 +4,9 @@ import { loadPep } from "../modules/pep/index.js";
|
||||
import swaggerUi from "swagger-ui-express";
|
||||
import swaggerDocument from "./api/v1/swagger.json" with { type: "json" };
|
||||
import { getConfig } from "../common/config.js";
|
||||
import { core } from "../modules/core/index.js"
|
||||
import { getAgreements } from "../http/agreements.js"
|
||||
import { core } from "../modules/core/index.js";
|
||||
import { getAgreements } from "../http/agreements.js";
|
||||
import { getArchiveServers } from "../common/archive.js";
|
||||
|
||||
import express from "express";
|
||||
import session from "express-session";
|
||||
@@ -66,6 +67,7 @@ async function renderPrivateUI(req, res, config) {
|
||||
|
||||
export async function initHTTP(app) {
|
||||
const config = getConfig();
|
||||
const archiveServers = await getArchiveServers(config);
|
||||
|
||||
passport.serializeUser(function (user, done) {
|
||||
done(null, user);
|
||||
|
||||
Reference in New Issue
Block a user