mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
feat: backend side of timezone convert, new route created for using luxon to convert timezones
This commit is contained in:
parent
ab601b53fe
commit
2d53cb0017
4 changed files with 69 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ import { libreConvert } from "./src/routes/libreconvert.route";
|
|||
import { colorConvert } from "./src/routes/colorconvert.route";
|
||||
import { passwordGenerate } from "./src/routes/passwordgenerate.route";
|
||||
import { regexTest } from "./src/routes/regextest.route";
|
||||
import { tmzConvert } from "./src/routes/tmzconvert.route";
|
||||
|
||||
const app = Fastify({ logger: true });
|
||||
|
||||
|
|
@ -19,6 +20,7 @@ app.register(libreConvert);
|
|||
app.register(colorConvert);
|
||||
app.register(passwordGenerate);
|
||||
app.register(regexTest);
|
||||
app.register(tmzConvert);
|
||||
|
||||
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