mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
move registerBaseAliases
to index
This commit is contained in:
parent
95596fa45c
commit
ca5fbc3d5d
@ -1,9 +1,5 @@
|
|||||||
import path from "path"
|
import path from "path"
|
||||||
import { Server, registerBaseAliases } from "linebridge/dist/server"
|
import { Server } from "linebridge/dist/server"
|
||||||
|
|
||||||
registerBaseAliases(undefined, {
|
|
||||||
"@services": path.resolve(__dirname, "services"),
|
|
||||||
})
|
|
||||||
|
|
||||||
import express from "express"
|
import express from "express"
|
||||||
import bcrypt from "bcrypt"
|
import bcrypt from "bcrypt"
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
require("dotenv").config()
|
require("dotenv").config()
|
||||||
import { webcrypto as crypto } from "crypto"
|
import { webcrypto as crypto } from "crypto"
|
||||||
|
import path from "path"
|
||||||
|
import { registerBaseAliases } from "linebridge/dist/server"
|
||||||
|
|
||||||
|
registerBaseAliases(undefined, {
|
||||||
|
"@services": path.resolve(__dirname, "services"),
|
||||||
|
})
|
||||||
|
|
||||||
// patches
|
// patches
|
||||||
const { Buffer } = require("buffer")
|
const { Buffer } = require("buffer")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user