mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
Password Generator finished and working
This commit is contained in:
parent
e348ea2aa9
commit
5930e8764d
5 changed files with 235 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import cors from "@fastify/cors";
|
|||
import multipart from "@fastify/multipart";
|
||||
import { libreConvert } from "./src/routes/libreconvert.route";
|
||||
import { colorConvert } from "./src/routes/colorconvert.route";
|
||||
import {passwordGenerate} from "./src/routes/passwordgenerate.route";
|
||||
|
||||
const app = Fastify({ logger: true });
|
||||
|
||||
|
|
@ -10,6 +11,7 @@ app.register(cors, { origin: "*", exposedHeaders: 'Content-Disposition' });
|
|||
app.register(multipart);
|
||||
app.register(libreConvert);
|
||||
app.register(colorConvert);
|
||||
app.register(passwordGenerate);
|
||||
|
||||
const PORT = process.env.PORT || 4000;
|
||||
app.listen({ port: Number(PORT), host: "0.0.0.0" }, () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue