mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 01:27:54 +00:00
feat: debug prints at runtime in docker
This commit is contained in:
parent
776ed29bca
commit
1ef7f9f822
2 changed files with 3 additions and 0 deletions
|
|
@ -34,4 +34,5 @@ console.log("Starting Fastify server...");
|
|||
const PORT = process.env.BACKEND_PORT;
|
||||
app.listen({ port: Number(PORT), host: "0.0.0.0" }, () => {
|
||||
console.log(`🚀Fastify is live on http://localhost:${PORT}`);
|
||||
console.log(`Allowed origin: ${process.env.CORS_ALLOWED_ORIGIN}`);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
import type { NextConfig } from "next";
|
||||
|
||||
console.log("NEXT_PUBLIC_BACKEND_URL", process.env.NEXT_PUBLIC_BACKEND_URL);
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
output: "standalone",
|
||||
env: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue