Move this variable to the top
This commit is contained in:
parent
3b379f8791
commit
7ab0af1bad
1 changed files with 6 additions and 6 deletions
|
|
@ -48,6 +48,12 @@ module.exports = async (
|
||||||
mySocketsEvents,
|
mySocketsEvents,
|
||||||
{ serverPort, CA, CA_KEY, useTLS }
|
{ serverPort, CA, CA_KEY, useTLS }
|
||||||
) => {
|
) => {
|
||||||
|
/**
|
||||||
|
* @typedef {import('express').Application} Application
|
||||||
|
*/
|
||||||
|
|
||||||
|
const ap = /** @type {Application} */ (app)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const Http = Axios.create({
|
const Http = Axios.create({
|
||||||
httpsAgent: new httpsAgent.Agent(
|
httpsAgent: new httpsAgent.Agent(
|
||||||
|
|
@ -2064,12 +2070,6 @@ module.exports = async (
|
||||||
* @typedef {import('express-serve-static-core').RequestHandler<P>} RequestHandler
|
* @typedef {import('express-serve-static-core').RequestHandler<P>} RequestHandler
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {import('express').Application} Application
|
|
||||||
*/
|
|
||||||
|
|
||||||
const ap = /** @type {Application} */ (app)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {object} FollowsRouteParams
|
* @typedef {object} FollowsRouteParams
|
||||||
* @prop {(string|undefined)=} publicKey
|
* @prop {(string|undefined)=} publicKey
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue