mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 13:55:03 +00:00
chore: esm imports
This will make merging this into 'next' much easier.
This commit is contained in:
parent
1f0c7a4349
commit
45e3fe2ef0
798 changed files with 3633 additions and 3633 deletions
|
@ -2,13 +2,13 @@ import cors from "cors";
|
|||
import express from "express";
|
||||
import multer from "multer";
|
||||
import { TokenError } from "passport-oauth2";
|
||||
import { env } from "../env";
|
||||
import { initArchives } from "./archives";
|
||||
import { initAuth } from "./auth";
|
||||
import { initDocs } from "./docs";
|
||||
import { initGuildsAPI } from "./guilds/index";
|
||||
import { clientError, error, notFound } from "./responses";
|
||||
import { startBackgroundTasks } from "./tasks";
|
||||
import { env } from "../env.js";
|
||||
import { initArchives } from "./archives.js";
|
||||
import { initAuth } from "./auth.js";
|
||||
import { initDocs } from "./docs.js";
|
||||
import { initGuildsAPI } from "./guilds/index.js";
|
||||
import { clientError, error, notFound } from "./responses.js";
|
||||
import { startBackgroundTasks } from "./tasks.js";
|
||||
|
||||
const apiPathPrefix = env.API_PATH_PREFIX || (env.NODE_ENV === "development" ? "/api" : "");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue