refactor(server/utils): make paths and imports more concise and correct

This commit is contained in:
parent a8e113e969
commit 576684e364
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -3,7 +3,7 @@ import crypto from "crypto";
import { usernameRegex } from "@server/constants"; import { usernameRegex } from "@server/constants";
import { User } from "@models/user"; import { User } from "@models/user";
import mongoose from "mongoose"; import mongoose from "mongoose";
import captcha from "@server/middlewareButNotReally/captcha"; import { captcha } from "@server/middlewareButNotReally";
export default eventHandler(async (event) => { export default eventHandler(async (event) => {
const body = await readBody(event); const body = await readBody(event);