mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
fix: use conditionally the right url for backend in nextjs frontend
This commit is contained in:
parent
2c7043eec6
commit
a3e7998d11
4 changed files with 13 additions and 5 deletions
|
|
@ -10,6 +10,10 @@ import { generateQRCode } from "./src/routes/generateqrcode.route";
|
|||
import { wordCounter } from "./src/routes/wordcounter.route";
|
||||
import { videoToAudio } from "./src/routes/videotoaudio.route";
|
||||
import { removeBG } from "./src/routes/removebg.route";
|
||||
import dotenv from "dotenv";
|
||||
import path from "node:path";
|
||||
|
||||
dotenv.config({ path: path.resolve(__dirname, "../.env") });
|
||||
|
||||
const app = Fastify({ logger: true });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue